mistral: fallback to guess if simulator has no waveform
This commit is contained in:
parent
5936464967
commit
e5a5de53c1
@ -368,8 +368,9 @@ bool Arch::getArcDelayOverride(const NetInfo *net_info, const PortRef &sink, Del
|
|||||||
cyclonev->rnode_timing_build_input_wave(src.node, temp, CycloneV::DELAY_MAX,
|
cyclonev->rnode_timing_build_input_wave(src.node, temp, CycloneV::DELAY_MAX,
|
||||||
inverted ? mistral::CycloneV::RF_RISE : mistral::CycloneV::RF_FALL,
|
inverted ? mistral::CycloneV::RF_RISE : mistral::CycloneV::RF_FALL,
|
||||||
est, input_wave[1]);
|
est, input_wave[1]);
|
||||||
NPNR_ASSERT(!input_wave[mistral::CycloneV::RF_RISE].empty() &&
|
if (input_wave[mistral::CycloneV::RF_RISE].empty() ||
|
||||||
!input_wave[mistral::CycloneV::RF_FALL].empty());
|
input_wave[mistral::CycloneV::RF_FALL].empty())
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int edge = 0; edge != 2; edge++) {
|
for (int edge = 0; edge != 2; edge++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user