fpoint_qsys.v 143 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587
  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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_qsys_addsub_single_altpriority_encoder_iha altpriority_encoder17
  949. (
  950. .data(data[1:0]),
  951. .q(wire_altpriority_encoder17_q));
  952. fpoint_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_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_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_qsys_addsub_single_altpriority_encoder_lha altpriority_encoder15
  974. (
  975. .data(data[3:0]),
  976. .q(wire_altpriority_encoder15_q));
  977. fpoint_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_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_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_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_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_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_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_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_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_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_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_qsys_addsub_single_altpriority_encoder_aja altpriority_encoder7
  1056. (
  1057. .data(data[15:0]),
  1058. .q(wire_altpriority_encoder7_q));
  1059. fpoint_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_qsys_addsub_single
  3339. //VALID FILE
  3340. //Legal Notice: (C)2010 Altera Corporation. All rights reserved. Your
  3341. //use of Altera Corporation's design tools, logic functions and other
  3342. //software and tools, and its AMPP partner logic functions, and any
  3343. //output files any of the foregoing (including device programming or
  3344. //simulation files), and any associated documentation or information are
  3345. //expressly subject to the terms and conditions of the Altera Program
  3346. //License Subscription Agreement or other applicable license agreement,
  3347. //including, without limitation, that your use is for the sole purpose
  3348. //of programming logic devices manufactured by Altera and sold by Altera
  3349. //or its authorized distributors. Please refer to the applicable
  3350. //agreement for further details.
  3351. // synthesis translate_off
  3352. `timescale 1ns / 1ps
  3353. // synthesis translate_on
  3354. // turn off superfluous verilog processor warnings
  3355. // altera message_level Level1
  3356. // altera message_off 10034 10035 10036 10037 10230 10240 10030
  3357. module fpoint_qsys (
  3358. // inputs:
  3359. clk,
  3360. clk_en,
  3361. dataa,
  3362. datab,
  3363. n,
  3364. reset,
  3365. start,
  3366. // outputs:
  3367. done,
  3368. result
  3369. )
  3370. ;
  3371. output done;
  3372. output [ 31: 0] result;
  3373. input clk;
  3374. input clk_en;
  3375. input [ 31: 0] dataa;
  3376. input [ 31: 0] datab;
  3377. input [ 1: 0] n;
  3378. input reset;
  3379. input start;
  3380. wire add_sub;
  3381. wire [ 3: 0] counter_in;
  3382. reg [ 3: 0] counter_out;
  3383. reg [ 31: 0] dataa_regout;
  3384. reg [ 31: 0] datab_regout;
  3385. wire done;
  3386. wire [ 3: 0] load_data;
  3387. wire local_reset_n;
  3388. wire [ 31: 0] result;
  3389. wire [ 31: 0] result_addsub;
  3390. wire [ 31: 0] result_mult;
  3391. //register the input for dataa
  3392. always @(posedge clk or negedge local_reset_n)
  3393. begin
  3394. if (local_reset_n == 0)
  3395. dataa_regout <= 0;
  3396. else if (clk_en)
  3397. dataa_regout <= dataa;
  3398. end
  3399. //register the input for datab
  3400. always @(posedge clk or negedge local_reset_n)
  3401. begin
  3402. if (local_reset_n == 0)
  3403. datab_regout <= 0;
  3404. else if (clk_en)
  3405. datab_regout <= datab;
  3406. end
  3407. fpoint_qsys_mult_single the_fp_mult
  3408. (
  3409. .aclr (reset),
  3410. .clk_en (clk_en),
  3411. .clock (clk),
  3412. .dataa (dataa_regout),
  3413. .datab (datab_regout),
  3414. .result (result_mult)
  3415. );
  3416. fpoint_qsys_addsub_single the_fp_addsub
  3417. (
  3418. .aclr (reset),
  3419. .add_sub (add_sub),
  3420. .clk_en (clk_en),
  3421. .clock (clk),
  3422. .dataa (dataa_regout),
  3423. .datab (datab_regout),
  3424. .result (result_addsub)
  3425. );
  3426. //s1, which is an e_custom_instruction_slave
  3427. //down_counter to signal done
  3428. always @(posedge clk or negedge local_reset_n)
  3429. begin
  3430. if (local_reset_n == 0)
  3431. counter_out <= 4'd10;
  3432. else if (clk_en)
  3433. counter_out <= counter_in;
  3434. end
  3435. //decrement or load the counter based on start
  3436. assign counter_in = (start == 0)? counter_out - 1'b1 :
  3437. load_data;
  3438. assign add_sub = n[0];
  3439. assign local_reset_n = ~reset;
  3440. assign done = clk_en & ~|counter_out & ~start;
  3441. //select load value of counter based on n
  3442. assign load_data = (n == 0)? 10 :
  3443. (n == 1)? 8 :
  3444. 8;
  3445. //multiplex output based on n
  3446. assign result = (n == 0)? result_mult :
  3447. (n == 1)? result_addsub :
  3448. result_addsub;
  3449. endmodule