From acf983a110f3ac6848c42f9b620715a3c9442f33 Mon Sep 17 00:00:00 2001 From: Ganesh Gore Date: Mon, 16 Oct 2023 17:53:10 -0700 Subject: [PATCH] Forced unused bits to default 0 --- .../src/fpga_bitstream/build_mux_bitstream.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openfpga/src/fpga_bitstream/build_mux_bitstream.cpp b/openfpga/src/fpga_bitstream/build_mux_bitstream.cpp index f3e3cf936..53947aaa8 100644 --- a/openfpga/src/fpga_bitstream/build_mux_bitstream.cpp +++ b/openfpga/src/fpga_bitstream/build_mux_bitstream.cpp @@ -36,13 +36,13 @@ size_t find_mux_default_path_id(const CircuitLibrary& circuit_lib, const size_t& mux_size) { size_t default_path_id; - if (true == circuit_lib.mux_add_const_input(mux_model)) { - default_path_id = - mux_size - 1; /* When there is a constant input, use the last path */ - } else { - default_path_id = DEFAULT_MUX_PATH_ID; /* When there is no constant input, - use the default one */ - } + // if (true == circuit_lib.mux_add_const_input(mux_model)) { + /* When there is a constant input, use the last path */ + default_path_id = mux_size - 1; + // } else { + // default_path_id = DEFAULT_MUX_PATH_ID; /* When there is no constant input, + // use the default one */ + // } return default_path_id; }