[Tool] Bug fix in the configuration chain connection builder

This commit is contained in:
tangxifan 2021-01-04 17:41:29 -07:00
parent a813c9016b
commit 804b721a19
1 changed files with 1 additions and 2 deletions

View File

@ -279,8 +279,7 @@ void add_module_nets_to_cmos_memory_scan_chain_module(ModuleManager& module_mana
const CircuitLibrary& circuit_lib,
const CircuitPortId& model_input_port,
const CircuitPortId& model_output_port) {
/* Last module does not need any scan-chain connection. So it is skipped */
for (size_t mem_index = 0; mem_index < module_manager.configurable_children(parent_module).size() - 1; ++mem_index) {
for (size_t mem_index = 0; mem_index < module_manager.configurable_children(parent_module).size(); ++mem_index) {
ModuleId net_src_module_id;
size_t net_src_instance_id;
ModulePortId net_src_port_id;