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

{16,16,1,361,2,1,0}([18]8,10,2)([19]7,11,2)([20]18,19,4)([21]18,19,2)([22]9,10,5)([23]8,11,2)([24]21,22,4)([25]21,22,2)([26]24,23,4)([27]24,23,2)([28]25,27,3)([29]7,12,2)([30]6,13,2)([31]29,30,4)([32]29,30,2)([33]32,28,4)([34]32,28,2)([35]33,33,1)([36]34,33,3)([37]9,11,5)([38]8,12,2)([39]7,13,2)([40]37,38,4)([41]37,38,2)([42]40,39,4)([43]40,39,2)([44]41,43,3)([45]9,12,5)([46]44,36,4)([47]44,36,2)([48]46,45,4)([49]46,45,2)([50]47,49,3)([51]5,10,2)([52]4,11,2)([53]51,52,4)([54]51,52,2)([55]6,10,2)([56]5,11,2)([57]54,55,4)([58]54,55,2)([59]57,56,4)([60]57,56,2)([61]58,60,3)([62]4,12,2)([63]3,13,2)([64]62,63,4)([65]62,63,2)([66]7,10,2)([67]65,61,4)([68]65,61,2)([69]67,66,4)([70]67,66,2)([71]68,70,3)([72]6,11,2)([73]5,12,2)([74]4,13,2)([75]72,73,4)([76]72,73,2)([77]75,74,4)([78]75,74,2)([79]76,78,3)([80]3,14,2)([81]2,15,2)([82]80,81,4)([83]80,81,2)([84]83,79,4)([85]83,79,2)([86]84,71,4)([87]84,71,2)([88]85,87,3)([89]6,12,2)([90]5,13,2)([91]4,14,2)([92]89,90,4)([93]89,90,2)([94]92,91,4)([95]92,91,2)([96]93,95,3)([97]3,15,2)([98]2,16,2)([99]97,98,4)([100]97,98,2)([101]99,20,4)([102]99,20,2)([103]100,102,3)([104]103,96,4)([105]103,96,2)([106]104,88,4)([107]104,88,2)([108]105,107,3)([109]5,14,2)([110]4,15,2)([111]3,16,2)([112]109,110,4)([113]109,110,2)([114]112,111,4)([115]112,111,2)([116]113,115,3)([117]2,17,5)([118]117,26,4)([119]117,26,2)([120]118,31,4)([121]118,31,2)([122]119,121,3)([123]122,116,4)([124]122,116,2)([125]123,108,4)([126]123,108,2)([127]124,126,3)([128]6,14,2)([129]5,15,2)([130]4,16,2)([131]128,129,4)([132]128,129,2)([133]131,130,4)([134]131,130,2)([135]132,134,3)([136]3,17,5)([137]136,35,4)([138]136,35,2)([139]137,42,4)([140]137,42,2)([141]138,140,3)([142]141,135,4)([143]141,135,2)([144]142,127,4)([145]142,127,2)([146]143,145,3)([147]8,13,2)([148]7,14,2)([149]6,15,2)([150]147,148,4)([151]147,148,2)([152]150,149,4)([153]150,149,2)([154]151,153,3)([155]5,16,2)([156]4,17,5)([157]155,156,4)([158]155,156,2)([159]157,48,4)([160]157,48,2)([161]158,160,3)([162]161,154,4)([163]161,154,2)([164]162,146,4)([165]162,146,2)([166]163,165,3)([167]9,13,5)([168]8,14,2)([169]50,167,4)([170]50,167,2)([171]169,168,4)([172]169,168,2)([173]170,172,3)([174]7,15,2)([175]6,16,2)([176]5,17,5)([177]174,175,4)([178]174,175,2)([179]177,176,4)([180]177,176,2)([181]178,180,3)([182]181,173,4)([183]181,173,2)([184]182,166,4)([185]182,166,2)([186]183,185,3)([187]9,14,5)([188]8,15,2)([189]7,16,2)([190]187,188,4)([191]187,188,2)([192]190,189,4)([193]190,189,2)([194]191,193,3)([195]9,15,5)([196]194,186,4)([197]194,186,2)([198]196,195,4)([199]196,195,2)([200]197,199,3)([201]4,10,2)([202]3,11,2)([203]201,202,4)([204]201,202,2)([205]3,12,2)([206]2,13,2)([207]204,205,4)([208]204,205,2)([209]207,206,4)([210]207,206,2)([211]208,210,3)([212]2,14,2)([213]211,212,4)([214]211,212,2)([215]213,59,4)([216]213,59,2)([217]214,216,3)([218]217,69,4)([219]217,69,2)([220]218,77,4)([221]218,77,2)([222]219,221,3)([223]222,86,4)([224]222,86,2)([225]223,94,4)([226]223,94,2)([227]224,226,3)([228]227,106,4)([229]227,106,2)([230]228,114,4)([231]228,114,2)([232]229,231,3)([233]232,125,4)([234]232,125,2)([235]233,133,4)([236]233,133,2)([237]234,236,3)([238]237,144,4)([239]237,144,2)([240]238,152,4)([241]238,152,2)([242]239,241,3)([243]242,164,4)([244]242,164,2)([245]243,171,4)([246]243,171,2)([247]244,246,3)([248]6,17,5)([249]247,248,4)([250]247,248,2)([251]249,184,4)([252]249,184,2)([253]250,252,3)([254]8,16,2)([255]7,17,5)([256]253,254,4)([257]253,254,2)([258]256,255,4)([259]256,255,2)([260]257,259,3)([261]9,16,5)([262]260,200,4)([263]260,200,2)([264]262,261,4)([265]262,261,2)([266]263,265,3)([267]2,10,2)([268]3,10,2)([269]2,12,2)([270]8,17,5)([271]2,11,2)([272]9,17,2)([273]268,271,4)([274]268,271,4)([275]268,271,2)([276]269,203,4)([277]269,203,4)([278]269,203,2)([279]277,275,4)([280]277,275,2)([281]278,280,3)([282]53,209,4)([283]53,209,4)([284]53,209,2)([285]283,281,4)([286]283,281,2)([287]284,286,3)([288]64,215,4)([289]64,215,4)([290]64,215,2)([291]289,287,4)([292]289,287,2)([293]290,292,3)([294]273,282,2)([295]276,288,2)([296]294,295,2)([297]296,296,1)([298]293,297,2)([299]82,220,4)([300]82,220,4)([301]82,220,2)([302]300,298,4)([303]300,298,2)([304]301,303,3)([305]101,225,4)([306]101,225,4)([307]101,225,2)([308]306,304,4)([309]306,304,2)([310]307,309,3)([311]120,230,4)([312]120,230,4)([313]120,230,2)([314]312,310,4)([315]312,310,2)([316]313,315,3)([317]139,235,4)([318]139,235,4)([319]139,235,2)([320]318,316,4)([321]318,316,2)([322]319,321,3)([323]299,311,2)([324]305,317,2)([325]323,324,2)([326]298,325,2)([327]325,325,1)([328]322,327,2)([329]326,328,4)([330]159,240,4)([331]159,240,4)([332]159,240,2)([333]331,329,4)([334]331,329,2)([335]332,334,3)([336]179,245,4)([337]179,245,4)([338]179,245,2)([339]337,335,4)([340]337,335,2)([341]338,340,3)([342]192,251,4)([343]192,251,4)([344]192,251,2)([345]343,341,4)([346]343,341,2)([347]344,346,3)([348]198,258,4)([349]198,258,4)([350]198,258,2)([351]349,347,4)([352]349,347,2)([353]350,352,3)([354]330,342,2)([355]336,348,2)([356]354,355,2)([357]329,356,2)([358]356,356,1)([359]353,358,2)([360]357,359,4)([361]270,264,4)([362]270,264,4)([363]270,264,2)([364]362,360,4)([365]362,360,2)([366]363,365,3)([367]266,272,4)([368]266,272,4)([369]266,272,2)([370]368,366,4)([371]368,366,2)([372]369,371,3)([373]361,367,2)([374]360,373,2)([375]373,373,1)([376]372,375,2)([377]374,376,4)([378]377,377,1)(267,274,279,285,291,302,308,314,320,333,339,345,351,364,370,378)