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

{16,8,1,595,2,1,0}([18]9,10,4)([19]9,9,1)([20]19,10,2)([21]18,18,1)([22]20,11,4)([23]11,11,1)([24]23,20,2)([25]24,11,3)([26]25,12,4)([27]12,12,1)([28]27,25,2)([29]28,12,3)([30]29,13,4)([31]13,13,1)([32]31,29,2)([33]32,13,3)([34]33,14,4)([35]14,14,1)([36]35,33,2)([37]36,14,3)([38]37,15,4)([39]15,15,1)([40]39,37,2)([41]40,15,3)([42]41,16,4)([43]16,16,1)([44]43,41,2)([45]44,16,3)([46]45,17,4)([47]17,17,1)([48]47,45,2)([49]48,17,3)([50]9,49,2)([51]49,49,1)([52]18,51,2)([53]50,52,4)([54]49,49,1)([55]22,54,2)([56]49,49,1)([57]26,56,2)([58]49,49,1)([59]30,58,2)([60]49,49,1)([61]34,60,2)([62]49,49,1)([63]38,62,2)([64]49,49,1)([65]42,64,2)([66]49,49,1)([67]8,10,4)([68]8,8,1)([69]68,10,2)([70]67,67,1)([71]53,11,4)([72]53,53,1)([73]72,11,2)([74]69,71,4)([75]71,71,1)([76]75,69,2)([77]76,73,3)([78]55,12,4)([79]55,55,1)([80]79,12,2)([81]77,78,4)([82]78,78,1)([83]82,77,2)([84]83,80,3)([85]57,13,4)([86]57,57,1)([87]86,13,2)([88]84,85,4)([89]85,85,1)([90]89,84,2)([91]90,87,3)([92]59,14,4)([93]59,59,1)([94]93,14,2)([95]91,92,4)([96]92,92,1)([97]96,91,2)([98]97,94,3)([99]61,15,4)([100]61,61,1)([101]100,15,2)([102]98,99,4)([103]99,99,1)([104]103,98,2)([105]104,101,3)([106]63,16,4)([107]63,63,1)([108]107,16,2)([109]105,106,4)([110]106,106,1)([111]110,105,2)([112]111,108,3)([113]65,17,4)([114]65,65,1)([115]114,17,2)([116]112,113,4)([117]113,113,1)([118]117,112,2)([119]118,115,3)([120]8,119,2)([121]119,119,1)([122]67,121,2)([123]120,122,4)([124]53,119,2)([125]119,119,1)([126]74,125,2)([127]124,126,4)([128]55,119,2)([129]119,119,1)([130]81,129,2)([131]128,130,4)([132]57,119,2)([133]119,119,1)([134]88,133,2)([135]132,134,4)([136]59,119,2)([137]119,119,1)([138]95,137,2)([139]136,138,4)([140]61,119,2)([141]119,119,1)([142]102,141,2)([143]140,142,4)([144]63,119,2)([145]119,119,1)([146]109,145,2)([147]144,146,4)([148]119,119,1)([149]7,10,4)([150]7,7,1)([151]150,10,2)([152]149,149,1)([153]123,11,4)([154]123,123,1)([155]154,11,2)([156]151,153,4)([157]153,153,1)([158]157,151,2)([159]158,155,3)([160]127,12,4)([161]127,127,1)([162]161,12,2)([163]159,160,4)([164]160,160,1)([165]164,159,2)([166]165,162,3)([167]131,13,4)([168]131,131,1)([169]168,13,2)([170]166,167,4)([171]167,167,1)([172]171,166,2)([173]172,169,3)([174]135,14,4)([175]135,135,1)([176]175,14,2)([177]173,174,4)([178]174,174,1)([179]178,173,2)([180]179,176,3)([181]139,15,4)([182]139,139,1)([183]182,15,2)([184]180,181,4)([185]181,181,1)([186]185,180,2)([187]186,183,3)([188]143,16,4)([189]143,143,1)([190]189,16,2)([191]187,188,4)([192]188,188,1)([193]192,187,2)([194]193,190,3)([195]147,17,4)([196]147,147,1)([197]196,17,2)([198]194,195,4)([199]195,195,1)([200]199,194,2)([201]200,197,3)([202]7,201,2)([203]201,201,1)([204]149,203,2)([205]202,204,4)([206]123,201,2)([207]201,201,1)([208]156,207,2)([209]206,208,4)([210]127,201,2)([211]201,201,1)([212]163,211,2)([213]210,212,4)([214]131,201,2)([215]201,201,1)([216]170,215,2)([217]214,216,4)([218]135,201,2)([219]201,201,1)([220]177,219,2)([221]218,220,4)([222]139,201,2)([223]201,201,1)([224]184,223,2)([225]222,224,4)([226]143,201,2)([227]201,201,1)([228]191,227,2)([229]226,228,4)([230]201,201,1)([231]6,10,4)([232]6,6,1)([233]232,10,2)([234]231,231,1)([235]205,11,4)([236]205,205,1)([237]236,11,2)([238]233,235,4)([239]235,235,1)([240]239,233,2)([241]240,237,3)([242]209,12,4)([243]209,209,1)([244]243,12,2)([245]241,242,4)([246]242,242,1)([247]246,241,2)([248]247,244,3)([249]213,13,4)([250]213,213,1)([251]250,13,2)([252]248,249,4)([253]249,249,1)([254]253,248,2)([255]254,251,3)([256]217,14,4)([257]217,217,1)([258]257,14,2)([259]255,256,4)([260]256,256,1)([261]260,255,2)([262]261,258,3)([263]221,15,4)([264]221,221,1)([265]264,15,2)([266]262,263,4)([267]263,263,1)([268]267,262,2)([269]268,265,3)([270]225,16,4)([271]225,225,1)([272]271,16,2)([273]269,270,4)([274]270,270,1)([275]274,269,2)([276]275,272,3)([277]229,17,4)([278]229,229,1)([279]278,17,2)([280]276,277,4)([281]277,277,1)([282]281,276,2)([283]282,279,3)([284]6,283,2)([285]283,283,1)([286]231,285,2)([287]284,286,4)([288]205,283,2)([289]283,283,1)([290]238,289,2)([291]288,290,4)([292]209,283,2)([293]283,283,1)([294]245,293,2)([295]292,294,4)([296]213,283,2)([297]283,283,1)([298]252,297,2)([299]296,298,4)([300]217,283,2)([301]283,283,1)([302]259,301,2)([303]300,302,4)([304]221,283,2)([305]283,283,1)([306]266,305,2)([307]304,306,4)([308]225,283,2)([309]283,283,1)([310]273,309,2)([311]308,310,4)([312]283,283,1)([313]5,10,4)([314]5,5,1)([315]314,10,2)([316]313,313,1)([317]287,11,4)([318]287,287,1)([319]318,11,2)([320]315,317,4)([321]317,317,1)([322]321,315,2)([323]322,319,3)([324]291,12,4)([325]291,291,1)([326]325,12,2)([327]323,324,4)([328]324,324,1)([329]328,323,2)([330]329,326,3)([331]295,13,4)([332]295,295,1)([333]332,13,2)([334]330,331,4)([335]331,331,1)([336]335,330,2)([337]336,333,3)([338]299,14,4)([339]299,299,1)([340]339,14,2)([341]337,338,4)([342]338,338,1)([343]342,337,2)([344]343,340,3)([345]303,15,4)([346]303,303,1)([347]346,15,2)([348]344,345,4)([349]345,345,1)([350]349,344,2)([351]350,347,3)([352]307,16,4)([353]307,307,1)([354]353,16,2)([355]351,352,4)([356]352,352,1)([357]356,351,2)([358]357,354,3)([359]311,17,4)([360]311,311,1)([361]360,17,2)([362]358,359,4)([363]359,359,1)([364]363,358,2)([365]364,361,3)([366]5,365,2)([367]365,365,1)([368]313,367,2)([369]366,368,4)([370]287,365,2)([371]365,365,1)([372]320,371,2)([373]370,372,4)([374]291,365,2)([375]365,365,1)([376]327,375,2)([377]374,376,4)([378]295,365,2)([379]365,365,1)([380]334,379,2)([381]378,380,4)([382]299,365,2)([383]365,365,1)([384]341,383,2)([385]382,384,4)([386]303,365,2)([387]365,365,1)([388]348,387,2)([389]386,388,4)([390]307,365,2)([391]365,365,1)([392]355,391,2)([393]390,392,4)([394]365,365,1)([395]4,10,4)([396]4,4,1)([397]396,10,2)([398]395,395,1)([399]369,11,4)([400]369,369,1)([401]400,11,2)([402]397,399,4)([403]399,399,1)([404]403,397,2)([405]404,401,3)([406]373,12,4)([407]373,373,1)([408]407,12,2)([409]405,406,4)([410]406,406,1)([411]410,405,2)([412]411,408,3)([413]377,13,4)([414]377,377,1)([415]414,13,2)([416]412,413,4)([417]413,413,1)([418]417,412,2)([419]418,415,3)([420]381,14,4)([421]381,381,1)([422]421,14,2)([423]419,420,4)([424]420,420,1)([425]424,419,2)([426]425,422,3)([427]385,15,4)([428]385,385,1)([429]428,15,2)([430]426,427,4)([431]427,427,1)([432]431,426,2)([433]432,429,3)([434]389,16,4)([435]389,389,1)([436]435,16,2)([437]433,434,4)([438]434,434,1)([439]438,433,2)([440]439,436,3)([441]393,17,4)([442]393,393,1)([443]442,17,2)([444]440,441,4)([445]441,441,1)([446]445,440,2)([447]446,443,3)([448]4,447,2)([449]447,447,1)([450]395,449,2)([451]448,450,4)([452]369,447,2)([453]447,447,1)([454]402,453,2)([455]452,454,4)([456]373,447,2)([457]447,447,1)([458]409,457,2)([459]456,458,4)([460]377,447,2)([461]447,447,1)([462]416,461,2)([463]460,462,4)([464]381,447,2)([465]447,447,1)([466]423,465,2)([467]464,466,4)([468]385,447,2)([469]447,447,1)([470]430,469,2)([471]468,470,4)([472]389,447,2)([473]447,447,1)([474]437,473,2)([475]472,474,4)([476]447,447,1)([477]3,10,4)([478]3,3,1)([479]478,10,2)([480]477,477,1)([481]451,11,4)([482]451,451,1)([483]482,11,2)([484]479,481,4)([485]481,481,1)([486]485,479,2)([487]486,483,3)([488]455,12,4)([489]455,455,1)([490]489,12,2)([491]487,488,4)([492]488,488,1)([493]492,487,2)([494]493,490,3)([495]459,13,4)([496]459,459,1)([497]496,13,2)([498]494,495,4)([499]495,495,1)([500]499,494,2)([501]500,497,3)([502]463,14,4)([503]463,463,1)([504]503,14,2)([505]501,502,4)([506]502,502,1)([507]506,501,2)([508]507,504,3)([509]467,15,4)([510]467,467,1)([511]510,15,2)([512]508,509,4)([513]509,509,1)([514]513,508,2)([515]514,511,3)([516]471,16,4)([517]471,471,1)([518]517,16,2)([519]515,516,4)([520]516,516,1)([521]520,515,2)([522]521,518,3)([523]475,17,4)([524]475,475,1)([525]524,17,2)([526]522,523,4)([527]523,523,1)([528]527,522,2)([529]528,525,3)([530]3,529,2)([531]529,529,1)([532]477,531,2)([533]530,532,4)([534]451,529,2)([535]529,529,1)([536]484,535,2)([537]534,536,4)([538]455,529,2)([539]529,529,1)([540]491,539,2)([541]538,540,4)([542]459,529,2)([543]529,529,1)([544]498,543,2)([545]542,544,4)([546]463,529,2)([547]529,529,1)([548]505,547,2)([549]546,548,4)([550]467,529,2)([551]529,529,1)([552]512,551,2)([553]550,552,4)([554]471,529,2)([555]529,529,1)([556]519,555,2)([557]554,556,4)([558]529,529,1)([559]2,10,4)([560]2,2,1)([561]560,10,2)([562]559,559,1)([563]533,11,4)([564]533,533,1)([565]564,11,2)([566]561,563,4)([567]563,563,1)([568]567,561,2)([569]568,565,3)([570]537,12,4)([571]537,537,1)([572]571,12,2)([573]569,570,4)([574]570,570,1)([575]574,569,2)([576]575,572,3)([577]541,13,4)([578]541,541,1)([579]578,13,2)([580]576,577,4)([581]577,577,1)([582]581,576,2)([583]582,579,3)([584]545,14,4)([585]545,545,1)([586]585,14,2)([587]583,584,4)([588]584,584,1)([589]588,583,2)([590]589,586,3)([591]549,15,4)([592]549,549,1)([593]592,15,2)([594]590,591,4)([595]591,591,1)([596]595,590,2)([597]596,593,3)([598]553,16,4)([599]553,553,1)([600]599,16,2)([601]597,598,4)([602]598,598,1)([603]602,597,2)([604]603,600,3)([605]557,17,4)([606]557,557,1)([607]606,17,2)([608]604,605,4)([609]605,605,1)([610]609,604,2)([611]610,607,3)([612]611,611,1)(612,558,476,394,312,230,148,66)