SJTU-ECTL / GOMIL

GOMIL: Global Optimization of Multiplier by Integer Linear Programming

Home Page:http://umji.sjtu.edu.cn/~wkqian/papers/Xiao_Qian_Liu_GOMIL_Global_Optimization_of_Multiplier_by_Integer_Linear_Programming.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some questions for the code

Andy-zd opened this issue · comments

So appreciative of you to provide the code for your algorithm. There are some questions for me when following your algorithm.

1. The area and delay variables seem not to get connected correctly with the variables b. https://github.com/SJTU-ECTL/GOMIL/blob/master/src/Adder_Tree_Optimization.cpp#L131 conflicts with the formulation in the paper. If this happens, the adder and multiplication will be divided separately, which leads to an unexpected solution.

2. Some wrong parameters settings.

(1) The https://github.com/SJTU-ECTL/GOMIL/blob/master/src/main.cpp#L129 and https://github.com/SJTU-ECTL/GOMIL/blob/master/src/main.cpp#L91 take different proportion for full adders and half adders.

(2) The default settings of parameter W and L differ with the settings in the paper.