mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-03 22:58:26 +00:00
@@ -299,10 +299,12 @@ void TimingAnalyser::identify_related_domains()
|
||||
std::function<void(const NetInfo *, dict<IdString, delay_t> &, delay_t)> find_net_drivers =
|
||||
[&](const NetInfo *ni, dict<IdString, delay_t> &drivers, delay_t delay_acc) {
|
||||
// Get driving cell and port
|
||||
if (ni == nullptr) return;
|
||||
if (ni == nullptr)
|
||||
return;
|
||||
const CellInfo *cell = ni->driver.cell;
|
||||
if (cell == nullptr) return;
|
||||
|
||||
if (cell == nullptr)
|
||||
return;
|
||||
|
||||
const IdString port = ni->driver.port;
|
||||
|
||||
bool didGoUpstream = false;
|
||||
@@ -363,9 +365,11 @@ void TimingAnalyser::identify_related_domains()
|
||||
for (const auto &domain : domains) {
|
||||
|
||||
const NetInfo *ni = ctx->nets.at(domain.key.clock).get();
|
||||
if (ni == nullptr) continue;
|
||||
if (ni->driver.cell == nullptr) continue;
|
||||
|
||||
if (ni == nullptr)
|
||||
continue;
|
||||
if (ni->driver.cell == nullptr)
|
||||
continue;
|
||||
|
||||
dict<IdString, delay_t> drivers;
|
||||
find_net_drivers(ni, drivers, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user