Jan Klhůfek 56c86c13ca
New multipliers (#13)
* #10 CGP Circuits as inputs (#11)

* CGP Circuits as inputs

* #10 support of signed output in general circuit

* input as output works

* output connected to input (c)

* automated verilog testing

* output rename

* Implemented CSA and Wallace tree multiplier composing of CSAs. Also did some code cleanup.

* Typos fix and code cleanup.

* Added new (approximate) multiplier architectures and did some minor changes regarding sign extension for c output formats.

* Updated automated testing scripts.

* Small bugfix in python code generation (I initially thought this line is useless).

* Updated generated circuits folder.

Co-authored-by: Vojta Mrazek <mrazek@fit.vutbr.cz>
2022-04-17 16:00:00 +02:00

1 line
14 KiB
Plaintext

{24,24,1,896,2,1,0}([26]4,14,2)([27]3,15,2)([28]26,27,4)([29]26,27,2)([30]5,14,2)([31]4,15,2)([32]29,30,4)([33]29,30,2)([34]32,31,4)([35]32,31,2)([36]33,35,3)([37]6,14,2)([38]5,15,2)([39]36,37,4)([40]36,37,2)([41]39,38,4)([42]39,38,2)([43]40,42,3)([44]7,14,2)([45]6,15,2)([46]43,44,4)([47]43,44,2)([48]46,45,4)([49]46,45,2)([50]47,49,3)([51]8,14,2)([52]7,15,2)([53]50,51,4)([54]50,51,2)([55]53,52,4)([56]53,52,2)([57]54,56,3)([58]9,14,2)([59]8,15,2)([60]57,58,4)([61]57,58,2)([62]60,59,4)([63]60,59,2)([64]61,63,3)([65]10,14,2)([66]9,15,2)([67]64,65,4)([68]64,65,2)([69]67,66,4)([70]67,66,2)([71]68,70,3)([72]11,14,2)([73]10,15,2)([74]71,72,4)([75]71,72,2)([76]74,73,4)([77]74,73,2)([78]75,77,3)([79]12,14,2)([80]11,15,2)([81]78,79,4)([82]78,79,2)([83]81,80,4)([84]81,80,2)([85]82,84,3)([86]13,14,5)([87]12,15,2)([88]85,86,4)([89]85,86,2)([90]88,87,4)([91]88,87,2)([92]89,91,3)([93]13,15,5)([94]92,92,1)([95]94,93,4)([96]94,93,2)([97]92,96,3)([98]13,16,5)([99]12,17,2)([100]97,98,4)([101]97,98,2)([102]100,99,4)([103]100,99,2)([104]101,103,3)([105]13,17,5)([106]12,18,2)([107]104,105,4)([108]104,105,2)([109]107,106,4)([110]107,106,2)([111]108,110,3)([112]13,18,5)([113]12,19,2)([114]111,112,4)([115]111,112,2)([116]114,113,4)([117]114,113,2)([118]115,117,3)([119]13,19,5)([120]12,20,2)([121]118,119,4)([122]118,119,2)([123]121,120,4)([124]121,120,2)([125]122,124,3)([126]13,20,5)([127]12,21,2)([128]125,126,4)([129]125,126,2)([130]128,127,4)([131]128,127,2)([132]129,131,3)([133]13,21,5)([134]12,22,2)([135]132,133,4)([136]132,133,2)([137]135,134,4)([138]135,134,2)([139]136,138,3)([140]13,22,5)([141]12,23,2)([142]139,140,4)([143]139,140,2)([144]142,141,4)([145]142,141,2)([146]143,145,3)([147]13,23,5)([148]12,24,2)([149]146,147,4)([150]146,147,2)([151]149,148,4)([152]149,148,2)([153]150,152,3)([154]3,16,2)([155]2,17,2)([156]154,155,4)([157]154,155,2)([158]4,16,2)([159]3,17,2)([160]157,158,4)([161]157,158,2)([162]160,159,4)([163]160,159,2)([164]161,163,3)([165]5,16,2)([166]4,17,2)([167]164,165,4)([168]164,165,2)([169]167,166,4)([170]167,166,2)([171]168,170,3)([172]6,16,2)([173]5,17,2)([174]171,172,4)([175]171,172,2)([176]174,173,4)([177]174,173,2)([178]175,177,3)([179]7,16,2)([180]6,17,2)([181]178,179,4)([182]178,179,2)([183]181,180,4)([184]181,180,2)([185]182,184,3)([186]8,16,2)([187]7,17,2)([188]185,186,4)([189]185,186,2)([190]188,187,4)([191]188,187,2)([192]189,191,3)([193]9,16,2)([194]8,17,2)([195]192,193,4)([196]192,193,2)([197]195,194,4)([198]195,194,2)([199]196,198,3)([200]10,16,2)([201]9,17,2)([202]199,200,4)([203]199,200,2)([204]202,201,4)([205]202,201,2)([206]203,205,3)([207]11,16,2)([208]10,17,2)([209]206,207,4)([210]206,207,2)([211]209,208,4)([212]209,208,2)([213]210,212,3)([214]12,16,2)([215]11,17,2)([216]213,214,4)([217]213,214,2)([218]216,215,4)([219]216,215,2)([220]217,219,3)([221]11,18,2)([222]10,19,2)([223]220,221,4)([224]220,221,2)([225]223,222,4)([226]223,222,2)([227]224,226,3)([228]11,19,2)([229]10,20,2)([230]227,228,4)([231]227,228,2)([232]230,229,4)([233]230,229,2)([234]231,233,3)([235]11,20,2)([236]10,21,2)([237]234,235,4)([238]234,235,2)([239]237,236,4)([240]237,236,2)([241]238,240,3)([242]11,21,2)([243]10,22,2)([244]241,242,4)([245]241,242,2)([246]244,243,4)([247]244,243,2)([248]245,247,3)([249]11,22,2)([250]10,23,2)([251]248,249,4)([252]248,249,2)([253]251,250,4)([254]251,250,2)([255]252,254,3)([256]11,23,2)([257]10,24,2)([258]255,256,4)([259]255,256,2)([260]258,257,4)([261]258,257,2)([262]259,261,3)([263]11,24,2)([264]10,25,5)([265]262,263,4)([266]262,263,2)([267]265,264,4)([268]265,264,2)([269]266,268,3)([270]2,18,2)([271]270,41,4)([272]270,41,2)([273]3,18,2)([274]2,19,2)([275]272,273,4)([276]272,273,2)([277]275,274,4)([278]275,274,2)([279]276,278,3)([280]4,18,2)([281]3,19,2)([282]279,280,4)([283]279,280,2)([284]282,281,4)([285]282,281,2)([286]283,285,3)([287]5,18,2)([288]4,19,2)([289]286,287,4)([290]286,287,2)([291]289,288,4)([292]289,288,2)([293]290,292,3)([294]6,18,2)([295]5,19,2)([296]293,294,4)([297]293,294,2)([298]296,295,4)([299]296,295,2)([300]297,299,3)([301]7,18,2)([302]6,19,2)([303]300,301,4)([304]300,301,2)([305]303,302,4)([306]303,302,2)([307]304,306,3)([308]8,18,2)([309]7,19,2)([310]307,308,4)([311]307,308,2)([312]310,309,4)([313]310,309,2)([314]311,313,3)([315]9,18,2)([316]8,19,2)([317]314,315,4)([318]314,315,2)([319]317,316,4)([320]317,316,2)([321]318,320,3)([322]10,18,2)([323]9,19,2)([324]321,322,4)([325]321,322,2)([326]324,323,4)([327]324,323,2)([328]325,327,3)([329]9,20,2)([330]8,21,2)([331]328,329,4)([332]328,329,2)([333]331,330,4)([334]331,330,2)([335]332,334,3)([336]9,21,2)([337]8,22,2)([338]335,336,4)([339]335,336,2)([340]338,337,4)([341]338,337,2)([342]339,341,3)([343]9,22,2)([344]8,23,2)([345]342,343,4)([346]342,343,2)([347]345,344,4)([348]345,344,2)([349]346,348,3)([350]9,23,2)([351]8,24,2)([352]349,350,4)([353]349,350,2)([354]352,351,4)([355]352,351,2)([356]353,355,3)([357]9,24,2)([358]8,25,5)([359]356,357,4)([360]356,357,2)([361]359,358,4)([362]359,358,2)([363]360,362,3)([364]9,25,5)([365]363,364,4)([366]363,364,2)([367]365,137,4)([368]365,137,2)([369]366,368,3)([370]48,169,4)([371]48,169,2)([372]2,20,2)([373]371,372,4)([374]371,372,2)([375]373,55,4)([376]373,55,2)([377]374,376,3)([378]3,20,2)([379]2,21,2)([380]377,378,4)([381]377,378,2)([382]380,379,4)([383]380,379,2)([384]381,383,3)([385]4,20,2)([386]3,21,2)([387]384,385,4)([388]384,385,2)([389]387,386,4)([390]387,386,2)([391]388,390,3)([392]5,20,2)([393]4,21,2)([394]391,392,4)([395]391,392,2)([396]394,393,4)([397]394,393,2)([398]395,397,3)([399]6,20,2)([400]5,21,2)([401]398,399,4)([402]398,399,2)([403]401,400,4)([404]401,400,2)([405]402,404,3)([406]7,20,2)([407]6,21,2)([408]405,406,4)([409]405,406,2)([410]408,407,4)([411]408,407,2)([412]409,411,3)([413]8,20,2)([414]7,21,2)([415]412,413,4)([416]412,413,2)([417]415,414,4)([418]415,414,2)([419]416,418,3)([420]7,22,2)([421]6,23,2)([422]419,420,4)([423]419,420,2)([424]422,421,4)([425]422,421,2)([426]423,425,3)([427]7,23,2)([428]6,24,2)([429]426,427,4)([430]426,427,2)([431]429,428,4)([432]429,428,2)([433]430,432,3)([434]7,24,2)([435]6,25,5)([436]433,434,4)([437]433,434,2)([438]436,435,4)([439]436,435,2)([440]437,439,3)([441]7,25,5)([442]440,441,4)([443]440,441,2)([444]442,123,4)([445]442,123,2)([446]443,445,3)([447]446,130,4)([448]446,130,2)([449]447,253,4)([450]447,253,2)([451]448,450,3)([452]176,284,4)([453]176,284,2)([454]453,62,4)([455]453,62,2)([456]454,183,4)([457]454,183,2)([458]455,457,3)([459]2,22,2)([460]458,459,4)([461]458,459,2)([462]460,69,4)([463]460,69,2)([464]461,463,3)([465]3,22,2)([466]2,23,2)([467]464,465,4)([468]464,465,2)([469]467,466,4)([470]467,466,2)([471]468,470,3)([472]4,22,2)([473]3,23,2)([474]471,472,4)([475]471,472,2)([476]474,473,4)([477]474,473,2)([478]475,477,3)([479]5,22,2)([480]4,23,2)([481]478,479,4)([482]478,479,2)([483]481,480,4)([484]481,480,2)([485]482,484,3)([486]6,22,2)([487]5,23,2)([488]485,486,4)([489]485,486,2)([490]488,487,4)([491]488,487,2)([492]489,491,3)([493]5,24,2)([494]4,25,5)([495]492,493,4)([496]492,493,2)([497]495,494,4)([498]495,494,2)([499]496,498,3)([500]5,25,5)([501]499,500,4)([502]499,500,2)([503]501,109,4)([504]501,109,2)([505]502,504,3)([506]505,116,4)([507]505,116,2)([508]506,239,4)([509]506,239,2)([510]507,509,3)([511]510,246,4)([512]510,246,2)([513]511,354,4)([514]511,354,2)([515]512,514,3)([516]291,382,4)([517]291,382,2)([518]517,190,4)([519]517,190,2)([520]518,298,4)([521]518,298,2)([522]519,521,3)([523]522,76,4)([524]522,76,2)([525]523,197,4)([526]523,197,2)([527]524,526,3)([528]2,24,2)([529]527,528,4)([530]527,528,2)([531]529,83,4)([532]529,83,2)([533]530,532,3)([534]3,24,2)([535]2,25,5)([536]533,534,4)([537]533,534,2)([538]536,535,4)([539]536,535,2)([540]537,539,3)([541]4,24,2)([542]3,25,5)([543]540,541,4)([544]540,541,2)([545]543,542,4)([546]543,542,2)([547]544,546,3)([548]547,102,4)([549]547,102,2)([550]548,225,4)([551]548,225,2)([552]549,551,3)([553]552,232,4)([554]552,232,2)([555]553,340,4)([556]553,340,2)([557]554,556,3)([558]557,347,4)([559]557,347,2)([560]558,438,4)([561]558,438,2)([562]559,561,3)([563]389,462,4)([564]389,462,2)([565]564,305,4)([566]564,305,2)([567]565,396,4)([568]565,396,2)([569]566,568,3)([570]569,204,4)([571]569,204,2)([572]570,312,4)([573]570,312,2)([574]571,573,3)([575]574,90,4)([576]574,90,2)([577]575,211,4)([578]575,211,2)([579]576,578,3)([580]579,95,4)([581]579,95,2)([582]580,218,4)([583]580,218,2)([584]581,583,3)([585]584,333,4)([586]584,333,2)([587]585,424,4)([588]585,424,2)([589]586,588,3)([590]589,431,4)([591]589,431,2)([592]590,503,4)([593]590,503,2)([594]591,593,3)([595]469,525,4)([596]469,525,2)([597]596,403,4)([598]596,403,2)([599]597,476,4)([600]597,476,2)([601]598,600,3)([602]601,319,4)([603]601,319,2)([604]602,410,4)([605]602,410,2)([606]603,605,3)([607]606,326,4)([608]606,326,2)([609]607,417,4)([610]607,417,2)([611]608,610,3)([612]611,497,4)([613]611,497,2)([614]612,550,4)([615]612,550,2)([616]613,615,3)([617]531,572,4)([618]531,572,2)([619]618,483,4)([620]618,483,2)([621]619,538,4)([622]619,538,2)([623]620,622,3)([624]623,490,4)([625]623,490,2)([626]624,545,4)([627]624,545,2)([628]625,627,3)([629]577,604,4)([630]577,604,2)([631]630,582,4)([632]630,582,2)([633]631,609,4)([634]631,609,2)([635]632,634,3)([636]635,628,4)([637]635,628,2)([638]636,587,4)([639]636,587,2)([640]637,639,3)([641]640,616,4)([642]640,616,2)([643]641,555,4)([644]641,555,2)([645]642,644,3)([646]645,594,4)([647]645,594,2)([648]646,508,4)([649]646,508,2)([650]647,649,3)([651]650,562,4)([652]650,562,2)([653]651,444,4)([654]651,444,2)([655]652,654,3)([656]655,515,4)([657]655,515,2)([658]656,361,4)([659]656,361,2)([660]657,659,3)([661]660,451,4)([662]660,451,2)([663]661,260,4)([664]661,260,2)([665]662,664,3)([666]665,369,4)([667]665,369,2)([668]666,144,4)([669]666,144,2)([670]667,669,3)([671]11,25,5)([672]670,269,4)([673]670,269,2)([674]672,671,4)([675]672,671,2)([676]673,675,3)([677]13,24,5)([678]676,153,4)([679]676,153,2)([680]678,677,4)([681]678,677,2)([682]679,681,3)([683]2,14,2)([684]3,14,2)([685]2,16,2)([686]12,25,5)([687]2,15,2)([688]13,25,2)([689]684,687,3)([690]684,687,2)([691]684,687,4)([692]685,28,3)([693]685,28,2)([694]685,28,4)([695]694,690,4)([696]690,692,2)([697]693,696,3)([698]34,156,3)([699]34,156,2)([700]34,156,4)([701]700,697,4)([702]698,689,2)([703]690,698,2)([704]703,692,2)([705]693,698,2)([706]704,705,3)([707]699,706,3)([708]162,271,3)([709]162,271,2)([710]162,271,4)([711]710,707,4)([712]708,692,2)([713]690,698,2)([714]708,692,2)([715]713,714,2)([716]693,708,2)([717]716,698,2)([718]699,708,2)([719]715,718,3)([720]717,719,3)([721]709,720,3)([722]277,370,3)([723]277,370,2)([724]277,370,4)([725]724,721,4)([726]721,722,2)([727]723,726,3)([728]375,452,3)([729]375,452,2)([730]375,452,4)([731]730,727,4)([732]721,728,2)([733]732,722,2)([734]723,728,2)([735]733,734,3)([736]729,735,3)([737]456,516,3)([738]456,516,2)([739]456,516,4)([740]739,736,4)([741]721,728,2)([742]737,722,2)([743]741,742,2)([744]723,737,2)([745]744,728,2)([746]729,737,2)([747]743,745,3)([748]747,746,3)([749]738,748,3)([750]520,563,3)([751]520,563,2)([752]520,563,4)([753]752,749,4)([754]721,737,2)([755]750,728,2)([756]754,755,2)([757]756,722,2)([758]723,737,2)([759]750,728,2)([760]758,759,2)([761]729,750,2)([762]761,737,2)([763]738,750,2)([764]757,762,3)([765]760,763,3)([766]764,765,3)([767]751,766,3)([768]567,595,3)([769]567,595,2)([770]567,595,4)([771]770,767,4)([772]767,768,2)([773]769,772,3)([774]599,617,3)([775]599,617,2)([776]599,617,4)([777]776,773,4)([778]767,774,2)([779]778,768,2)([780]769,774,2)([781]779,780,3)([782]775,781,3)([783]621,629,3)([784]621,629,2)([785]621,629,4)([786]785,782,4)([787]767,774,2)([788]783,768,2)([789]787,788,2)([790]769,783,2)([791]790,774,2)([792]775,783,2)([793]789,791,3)([794]793,792,3)([795]784,794,3)([796]626,633,3)([797]626,633,2)([798]626,633,4)([799]798,795,4)([800]767,783,2)([801]796,774,2)([802]800,801,2)([803]802,768,2)([804]769,783,2)([805]796,774,2)([806]804,805,2)([807]775,796,2)([808]807,783,2)([809]784,796,2)([810]803,808,3)([811]806,809,3)([812]810,811,3)([813]797,812,3)([814]614,638,3)([815]614,638,2)([816]614,638,4)([817]816,813,4)([818]813,814,2)([819]815,818,3)([820]592,643,3)([821]592,643,2)([822]592,643,4)([823]822,819,4)([824]813,820,2)([825]824,814,2)([826]815,820,2)([827]825,826,3)([828]821,827,3)([829]560,648,3)([830]560,648,2)([831]560,648,4)([832]831,828,4)([833]813,820,2)([834]829,814,2)([835]833,834,2)([836]815,829,2)([837]836,820,2)([838]821,829,2)([839]835,837,3)([840]839,838,3)([841]830,840,3)([842]513,653,3)([843]513,653,2)([844]513,653,4)([845]844,841,4)([846]813,829,2)([847]842,820,2)([848]846,847,2)([849]848,814,2)([850]815,829,2)([851]842,820,2)([852]850,851,2)([853]821,842,2)([854]853,829,2)([855]830,842,2)([856]849,854,3)([857]852,855,3)([858]856,857,3)([859]843,858,3)([860]449,658,3)([861]449,658,2)([862]449,658,4)([863]862,859,4)([864]859,860,2)([865]861,864,3)([866]367,663,3)([867]367,663,2)([868]367,663,4)([869]868,865,4)([870]859,866,2)([871]870,860,2)([872]861,866,2)([873]871,872,3)([874]867,873,3)([875]267,668,3)([876]267,668,2)([877]267,668,4)([878]877,874,4)([879]859,866,2)([880]875,860,2)([881]879,880,2)([882]861,875,2)([883]882,866,2)([884]867,875,2)([885]881,883,3)([886]885,884,3)([887]876,886,3)([888]151,674,3)([889]151,674,2)([890]151,674,4)([891]890,887,4)([892]859,875,2)([893]888,866,2)([894]892,893,2)([895]894,860,2)([896]861,875,2)([897]888,866,2)([898]896,897,2)([899]867,888,2)([900]899,875,2)([901]876,888,2)([902]895,900,3)([903]898,901,3)([904]902,903,3)([905]889,904,3)([906]686,680,3)([907]686,680,2)([908]686,680,4)([909]908,905,4)([910]905,906,2)([911]907,910,3)([912]682,688,3)([913]682,688,2)([914]682,688,4)([915]914,911,4)([916]905,912,2)([917]916,906,2)([918]907,912,2)([919]917,918,3)([920]913,919,3)([921]920,920,1)(683,691,695,701,711,725,731,740,753,771,777,786,799,817,823,832,845,863,869,878,891,909,915,921)