79 auto rigidFlexDesignPath = getTestDataPath(
"designodb_rigidflex.tgz");
80 if (rigidFlexDesignPath.empty())
85 std::cout <<
"Processing " << rigidFlexDesignPath <<
"... " << std::endl;
94 const auto& findStep = rigidFlexOdbDesign.
GetStepsByName().find(
"cellular_flip-phone");
98 auto& pStep = findStep->second;
99 auto name = pStep->GetName();
102 auto& edaData = pStep->GetEdaDataFile();
103 auto& netRecords = edaData.GetNetRecords();
104 if (netRecords.size() > 20)
106 auto& pNetRecord = netRecords[20];
107 if (pNetRecord->m_subnetRecords.size() > 44)
109 auto& pSubnetRecord = pNetRecord->m_subnetRecords[44];
110 auto subnetType = pSubnetRecord->type;
123 auto& packageRecords = edaData.GetPackageRecords();
124 if (packageRecords.size() > 0)
126 auto& pPackageRecord = packageRecords[0];
127 auto packageName = pPackageRecord->name;
131 auto& layersByName = pStep->GetLayersByName();
133 if (layerFind != layersByName.end())
135 auto& pLayer = layerFind->second;
136 auto layerName = pLayer->GetName();
140 const auto& netlistsByName = pStep->GetNetlistsByName();
141 auto netlistFind = netlistsByName.find(
"cadnet");
142 if (netlistFind != netlistsByName.end())