iopadmap: Refactor and fix tristate buffer mapping. (#1527)
authorMarcin Kościelnicki <mwk@0x04.net>
Wed, 4 Dec 2019 07:44:08 +0000 (08:44 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 07:44:08 +0000 (08:44 +0100)
commit2abe38e73e51204976129c776447c2d40578c32f
treea98c132f23c89e7389e904c8b88b87dc83ec42c2
parent10014e2643cdedd2050f072eb5d1b8d01dccc406
iopadmap: Refactor and fix tristate buffer mapping. (#1527)

The previous code for rerouting wires when inserting tristate buffers
was overcomplicated and didn't handle all cases correctly (in
particular, only cell connections were rewired — internal connections
were not).
passes/techmap/iopadmap.cc
tests/techmap/iopadmap.ys [new file with mode: 0644]