<litghost>
hackerfoo: I know what pdb is, it isn't going to help you
<litghost>
hackerfoo: The problem isn't in the python at all
<hackerfoo>
I'm trying to make the edge exist.
<hackerfoo>
But I don't know which edge is missing.
<litghost>
But the problem is in the database, not in the python
<litghost>
E.g. what pip/src wire/dest wire is being connected, is it actually a pin to pin connection, does making that pip to pin connect make sense, etc
<hackerfoo>
I looked at the database, but I need more than some big numbers to understand what's missing.
<litghost>
those aren't big numbers, those a primary keys
<litghost>
e.g. rows in the database
<hackerfoo>
I was hoping this would be easier than a bunch of queries.
<hackerfoo>
I know :)
<litghost>
But the database can tell you:
<litghost>
What wires were being connected?
<litghost>
What pip was being use connected them?
<litghost>
Before you do anything else, you need to make sure the requested connection even makes sense
<hackerfoo>
I want I something I can look at in Vivado.
<litghost>
Right, so query the database for the tile name and wire name?
<litghost>
And that is something you can put back into Vivado
<litghost>
e.g.
<litghost>
SELECT name FROM wire_in_tile where pkey = (SELECT wire_in_tile_pkey FROM wire WHERE pkey = ?)
<hackerfoo>
Which table has wire names? I see wire_name_index.
<litghost>
Or just
<litghost>
SELECT name FROM pip_in_tile WHERE pkey = ?