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
13 KiB
Plaintext

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