bug fix for naming conflicts in mux local encoder and architecture decoders

This commit is contained in:
tangxifan 2020-07-03 14:12:13 -06:00
parent 70d9678578
commit 1f38e17111
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ std::string generate_mux_branch_subckt_name(const CircuitLibrary& circuit_lib,
***********************************************/ ***********************************************/
std::string generate_mux_local_decoder_subckt_name(const size_t& addr_size, std::string generate_mux_local_decoder_subckt_name(const size_t& addr_size,
const size_t& data_size) { const size_t& data_size) {
std::string subckt_name = "decoder"; std::string subckt_name = "local_encoder";
subckt_name += std::to_string(addr_size); subckt_name += std::to_string(addr_size);
subckt_name += "to"; subckt_name += "to";
subckt_name += std::to_string(data_size); subckt_name += std::to_string(data_size);