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