[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 18:40:47 BST 2020


--- Comment #80 from Jean-Paul.Chaput at lip6.fr ---
(In reply to Luke Kenneth Casson Leighton from comment #78)
>         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
> (placed).
> i need the Plugs that have *not* been instantiated.

  Duh? It seems ok to me, according to the netlist of alu16, top level
  "a(2)" is connected only to "add" and "sub". Plug represent logical
  connexions, so they cannot be "placed". The instance they belong to,
  however, may be placed. What Plug connected to "a(2)" do you miss?

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

More information about the libre-riscv-dev mailing list