diff options
author | David Shah <davey1576@gmail.com> | 2018-10-03 13:45:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 13:45:42 +0100 |
commit | 22973527727a3747349f2d6f234f20fd459f05c3 (patch) | |
tree | 15f999b641cc7a609bcb8a9ab858ebfd362cb833 /common/timing.cc | |
parent | 15f38829a55843d747b817525325e4115d984dc4 (diff) | |
parent | bf7161d2b49ff5660626a0ac4af5a7eeb3fb77c1 (diff) | |
download | nextpnr-22973527727a3747349f2d6f234f20fd459f05c3.tar.gz nextpnr-22973527727a3747349f2d6f234f20fd459f05c3.tar.bz2 nextpnr-22973527727a3747349f2d6f234f20fd459f05c3.zip |
Merge pull request #83 from YosysHQ/ecp5_dram
Adding support for ECP5 distributed RAM
Diffstat (limited to 'common/timing.cc')
-rw-r--r-- | common/timing.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/timing.cc b/common/timing.cc index 62697353..e3a7635f 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -164,6 +164,22 @@ struct Timing } // Sanity check to ensure that all ports where fanins were recorded were indeed visited + if (!port_fanin.empty()) { + for (auto fanin : port_fanin) { + NetInfo *net = fanin.first->net; + if (net != nullptr) { + log_info(" remaining fanin includes %s (net %s)\n", fanin.first->name.c_str(ctx), + net->name.c_str(ctx)); + if (net->driver.cell != nullptr) + log_info(" driver = %s.%s\n", net->driver.cell->name.c_str(ctx), + net->driver.port.c_str(ctx)); + for (auto net_user : net->users) + log_info(" user: %s.%s\n", net_user.cell->name.c_str(ctx), net_user.port.c_str(ctx)); + } else { + log_info(" remaining fanin includes %s (no net)\n", fanin.first->name.c_str(ctx)); + } + } + } NPNR_ASSERT(port_fanin.empty()); // Go forwards topographically to find the maximum arrival time and max path length for each net |