Hi, I'm working on a bit of code to have a simple button to update the termOrder in CDF in a schematic editor. While working on this, I noticed something I would like to get explained. Hopefully someone can help me out. It is the following: I have created a test-cell with the following pins (in the order I created them): "a" "b" "busi " "buso " "z" "vdd" "vss" inputs: "a" "b" "busi " inputs/outputs: "vdd" "vss" outputs:"buso " "z" When I take a look at the schematic cell-view: cv~>terminals~>name The output is: ("busi " "buso " "vdd" "vss" "b" "a" "z" ) When I look at the port order of the symbol cell-view (whicih is identical to the termOrder of simulators in the CDF): cv~>portOrder ("buso " "z" "vdd" "vss" "a" "b" "busi " ) As you can see, none of the orders match: creation order terminal order symbol port order The order isn't alphabetical either (the "z" pin/terminal/port is (very) roughly in the middle). Can someone explain to me what is happening here? What magic sauce Virtuoso is putting on top of the pins I create in order to have different orders everywhere? What I think is part of the answer: The portOrder can be split in sections: first the outputs, then the inputs/outputs and lastly the inputs. Each section is in alphabetic order. Bonus question: Would it hurt to use the cv~>terminals~>name order as the termOrder in the cell CDF? Thank you in advance. With kind regards, Sjoerd
↧