v2.5: 减小just的概率

This commit is contained in:
YuhangQ 2023-08-24 08:31:49 +00:00
parent a924f08764
commit 2943676f0d
2 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ LUT* LUTCircuit::ls_pick() {
return pick;
}
if(rand() % 10000 < 5000) {
if(rand() % 10000 < 3000) {
return pick->fanins[rand() % pick->fanins.size()];
}
return pick;

View File

@ -14,11 +14,11 @@
PARA( t , int , '\0' , false , 30 , 0 , 1000 , "max input numbers of LUT") \
PARA( vsat_inc , int , '\0' , false , 1 , 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_max , int , '\0' , false , 500 , 0 , 1000 , "max input numbers of LUT") \
PARA( fw_inc , int , '\0' , false , 2 , 0 , 1000 , "max input numbers of LUT") \
PARA( fw_max , int , '\0' , false , 10000 , 0 , 1000 , "max input numbers of LUT") \
PARA( up_inc , int , '\0' , false , 1 , 0 , 1000 , "max input numbers of LUT") \
PARA( up_max , int , '\0' , false , 1000 , 0 , 1000 , "max input numbers of LUT") \
PARA( max_step_coeff , double , '\0' , false , 10.0 , 1 , 1000 , "max input numbers of LUT")
PARA( up_max , int , '\0' , false , 10000 , 0 , 1000 , "max input numbers of LUT") \
PARA( max_step_coeff , double , '\0' , false , 10.0 , 1 , 1000 , "max input numbers of LUT")
// name, short-name, must-need, default, comments
#define STR_PARAS \
STR_PARA( instance , 'i' , true , "" , ".bench format instance")