In sizing section : operator property is always converted to upper case (since opsim 'needs' it)
This commit is contained in:
parent
1ee7622af9
commit
5876530c64
|
@ -568,7 +568,9 @@ void Circuit::readInstanceSizing(xmlNode* node, Sizing* sizing) {
|
|||
xmlChar* orderC = xmlGetProp(node, (xmlChar*)"callOrder");
|
||||
if (nameC && operatorC && simulModC && orderC) {
|
||||
Name iName ((const char*)nameC);
|
||||
Name opName ((const char*)operatorC);
|
||||
string opStr ((const char*)operatorC);
|
||||
transform(opStr.begin(), opStr.end(), opStr.begin(), ::toupper);
|
||||
Name opName (opStr);
|
||||
Name simulMod((const char*)simulModC);
|
||||
unsigned callOrder = ::getValue<unsigned>(orderC);
|
||||
Operator* op = sizing->addOperator(iName, opName, simulMod, callOrder);
|
||||
|
|
Loading…
Reference in New Issue