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

{16,16,1,323,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,2)([275]269,203,4)([276]269,203,2)([277]275,274,4)([278]275,274,2)([279]276,278,3)([280]53,209,4)([281]53,209,2)([282]280,279,4)([283]280,279,2)([284]281,283,3)([285]64,215,4)([286]64,215,2)([287]285,284,4)([288]285,284,2)([289]286,288,3)([290]82,220,4)([291]82,220,2)([292]290,289,4)([293]290,289,2)([294]291,293,3)([295]101,225,4)([296]101,225,2)([297]295,294,4)([298]295,294,2)([299]296,298,3)([300]120,230,4)([301]120,230,2)([302]300,299,4)([303]300,299,2)([304]301,303,3)([305]139,235,4)([306]139,235,2)([307]305,304,4)([308]305,304,2)([309]306,308,3)([310]159,240,4)([311]159,240,2)([312]310,309,4)([313]310,309,2)([314]311,313,3)([315]179,245,4)([316]179,245,2)([317]315,314,4)([318]315,314,2)([319]316,318,3)([320]192,251,4)([321]192,251,2)([322]320,319,4)([323]320,319,2)([324]321,323,3)([325]198,258,4)([326]198,258,2)([327]325,324,4)([328]325,324,2)([329]326,328,3)([330]270,264,4)([331]270,264,2)([332]330,329,4)([333]330,329,2)([334]331,333,3)([335]266,272,4)([336]266,272,2)([337]335,334,4)([338]335,334,2)([339]336,338,3)([340]339,339,1)(267,273,277,282,287,292,297,302,307,312,317,322,327,332,337,340)