Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odb/cdl: Handle top-level pins wired to nets of different name
ATM the code seem to assume that for each top level pin, the net name is equal to the pin name. That's not always the case and this produces an incorect netlist. To solve that, during pin name enumeration when creating the subckt line, we create a mapping from "net name" -> "pin name" for each pin connected to a net of a different name. Then when outputting the connections between sub blocks, we use the pin name instead of the DB net name. Signed-off-by: Sylvain Munaut <[email protected]>
- Loading branch information