v2.5: 减小just的概率
This commit is contained in:
parent
a924f08764
commit
2943676f0d
@ -44,7 +44,7 @@ LUT* LUTCircuit::ls_pick() {
|
|||||||
return pick;
|
return pick;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(rand() % 10000 < 5000) {
|
if(rand() % 10000 < 3000) {
|
||||||
return pick->fanins[rand() % pick->fanins.size()];
|
return pick->fanins[rand() % pick->fanins.size()];
|
||||||
}
|
}
|
||||||
return pick;
|
return pick;
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
PARA( t , int , '\0' , false , 30 , 0 , 1000 , "max input numbers of LUT") \
|
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_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( 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 , 2 , 0 , 1000 , "max input numbers of LUT") \
|
||||||
PARA( fw_max , int , '\0' , false , 500 , 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_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( 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")
|
PARA( max_step_coeff , double , '\0' , false , 10.0 , 1 , 1000 , "max input numbers of LUT")
|
||||||
// name, short-name, must-need, default, comments
|
// name, short-name, must-need, default, comments
|
||||||
#define STR_PARAS \
|
#define STR_PARAS \
|
||||||
STR_PARA( instance , 'i' , true , "" , ".bench format instance")
|
STR_PARA( instance , 'i' , true , "" , ".bench format instance")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user