Make sure net name prefixes carry through to netlist
This commit is contained in:
parent
4efed8a4dd
commit
efa0c97da9
|
@ -1022,6 +1022,8 @@ void CONNECTION_GRAPH::buildConnectionGraph()
|
|||
m_net_name_to_subgraphs_map[new_name].emplace_back( subgraph );
|
||||
|
||||
name = new_name;
|
||||
|
||||
subgraph->UpdateItemConnections();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -212,16 +212,16 @@ void SCH_CONNECTION::Clone( SCH_CONNECTION& aOther )
|
|||
m_sheet = aOther.Sheet();
|
||||
m_name = aOther.m_name;
|
||||
m_prefix = aOther.Prefix();
|
||||
// Don't clone suffix, it will be rolled into the name
|
||||
//m_suffix = aOther.Suffix();
|
||||
m_suffix = aOther.Suffix();
|
||||
m_members = aOther.Members();
|
||||
m_net_code = aOther.NetCode();
|
||||
m_bus_code = aOther.BusCode();
|
||||
//m_subgraph_code = aOther.SubgraphCode();
|
||||
m_vector_start = aOther.VectorStart();
|
||||
m_vector_end = aOther.VectorEnd();
|
||||
m_vector_index = aOther.VectorIndex();
|
||||
m_vector_prefix = aOther.VectorPrefix();
|
||||
|
||||
// Note: subgraph code isn't cloned, it should remain with the original object
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue