v1.1: 修改了t=20,速度变快,结果变好

This commit is contained in:
YuhangQ 2023-08-09 08:59:24 +00:00
parent ba70167a6b
commit 0431ca531a
4 changed files with 2 additions and 2 deletions

Binary file not shown.

BIN
atpg

Binary file not shown.

View File

@ -194,7 +194,7 @@ void LUTCircuit::ls_gen_sol() {
break; break;
} }
pick->cal_score(); // pick->cal_score();
ls_flip(pick); ls_flip(pick);

View File

@ -11,7 +11,7 @@
PARA( lut , int , '\0' , false , 8 , 0 , 16 , "max input numbers of LUT") \ PARA( lut , int , '\0' , false , 8 , 0 , 16 , "max input numbers of LUT") \
PARA( sp , double , '\0' , false , 0.01 , 0 , 1 , "max input numbers of LUT") \ PARA( sp , double , '\0' , false , 0.01 , 0 , 1 , "max input numbers of LUT") \
PARA( brk_sp , double , '\0' , false , 0.05 , 0 , 1 , "max input numbers of LUT") \ PARA( brk_sp , double , '\0' , false , 0.05 , 0 , 1 , "max input numbers of LUT") \
PARA( t , int , '\0' , false , 50 , 0 , 1000 , "max input numbers of LUT") \ PARA( t , int , '\0' , false , 20 , 0 , 1000 , "max input numbers of LUT") \
PARA( vsat_inc , int , '\0' , false , 2 , 0 , 100000 , "max input numbers of LUT") \ PARA( vsat_inc , int , '\0' , false , 2 , 0 , 100000 , "max input numbers of LUT") \
PARA( vsat_max , int , '\0' , false , 10000 , 0 , 100000 , "max input numbers of LUT") \ PARA( vsat_max , int , '\0' , false , 10000 , 0 , 100000 , "max input numbers of LUT") \
PARA( fw_inc , int , '\0' , false , 1 , 0 , 1000 , "max input numbers of LUT") \ PARA( fw_inc , int , '\0' , false , 1 , 0 , 1000 , "max input numbers of LUT") \