Forced unused bits to default 0
This commit is contained in:
parent
0ca741d68d
commit
acf983a110
|
@ -36,13 +36,13 @@ size_t find_mux_default_path_id(const CircuitLibrary& circuit_lib,
|
||||||
const size_t& mux_size) {
|
const size_t& mux_size) {
|
||||||
size_t default_path_id;
|
size_t default_path_id;
|
||||||
|
|
||||||
if (true == circuit_lib.mux_add_const_input(mux_model)) {
|
// if (true == circuit_lib.mux_add_const_input(mux_model)) {
|
||||||
default_path_id =
|
/* When there is a constant input, use the last path */
|
||||||
mux_size - 1; /* When there is a constant input, use the last path */
|
default_path_id = mux_size - 1;
|
||||||
} else {
|
// } else {
|
||||||
default_path_id = DEFAULT_MUX_PATH_ID; /* When there is no constant input,
|
// default_path_id = DEFAULT_MUX_PATH_ID; /* When there is no constant input,
|
||||||
use the default one */
|
// use the default one */
|
||||||
}
|
// }
|
||||||
|
|
||||||
return default_path_id;
|
return default_path_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue