[libre-riscv-dev] [Bug 217] create a "ring" system which allows pad locations to be specified conveniently

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 21 17:55:11 BST 2020


--- Comment #78 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---

        print (dir(self.cell))
        for net in self.cell.getNets():
            print (net.getName())
        print (self.cell.getNet("a(0)"))
        print (dir(self.cell.getNet("a(0)")))
        net = self.cell.getNet("a(2)")
        print (list(net.getPlugs()))
        for plug in net.getPlugs():
            print (plug, dir(plug))
            components = list(plug.getConnexComponents())
            pc = plug.getCell()
            print ("plug cell", pc)
            mnet = plug.getMasterNet()
            print ("mstnet", mnet)

hmmm this is only printing out add and sub instances
<id:3628 Plug a(2) subckt_48_add.a(2)>
<id:3495 Plug a(2) subckt_49_sub.a(2)>

the reason for that, i am guessing, is because they've been instantiated

i need the Plugs that have *not* been instantiated.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-riscv-dev mailing list