diff options
author | David Shah <davey1576@gmail.com> | 2018-09-30 16:29:26 +0100 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-09-30 16:29:26 +0100 |
commit | a27c7b45dee834dbf7342df0acff257aab946f25 (patch) | |
tree | 7990187ff0eb0d7a66e2b4e82ebac0b7dea71dfe /common/design_utils.cc | |
parent | 6afc2c75fdf73493d63c511322ce06dbaa4ab0d7 (diff) | |
download | nextpnr-a27c7b45dee834dbf7342df0acff257aab946f25.tar.gz nextpnr-a27c7b45dee834dbf7342df0acff257aab946f25.tar.bz2 nextpnr-a27c7b45dee834dbf7342df0acff257aab946f25.zip |
Refactor chain finder to its own file
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/design_utils.cc')
-rw-r--r-- | common/design_utils.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/design_utils.cc b/common/design_utils.cc index 0976d6dd..7ad7f749 100644 --- a/common/design_utils.cc +++ b/common/design_utils.cc @@ -74,7 +74,8 @@ void print_utilisation(const Context *ctx) } // Connect a net to a port -void connect_port(const Context *ctx, NetInfo *net, CellInfo *cell, IdString port_name) { +void connect_port(const Context *ctx, NetInfo *net, CellInfo *cell, IdString port_name) +{ PortInfo &port = cell->ports.at(port_name); NPNR_ASSERT(port.net == nullptr); port.net = net; |