liberty min_pulse_width missing related_pin
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
9d259796ca
commit
5261a2a91b
|
|
@ -678,6 +678,8 @@ LibertyBuilder::makeMinPulseWidthArcs(LibertyCell *cell,
|
||||||
TimingRole *role,
|
TimingRole *role,
|
||||||
TimingArcAttrsPtr attrs)
|
TimingArcAttrsPtr attrs)
|
||||||
{
|
{
|
||||||
|
if (from_port == nullptr)
|
||||||
|
from_port = to_port;
|
||||||
TimingArcSet *arc_set = makeTimingArcSet(cell, from_port, to_port, related_out,
|
TimingArcSet *arc_set = makeTimingArcSet(cell, from_port, to_port, related_out,
|
||||||
role, attrs);
|
role, attrs);
|
||||||
for (auto to_rf : RiseFall::range()) {
|
for (auto to_rf : RiseFall::range()) {
|
||||||
|
|
|
||||||
|
|
@ -4119,7 +4119,8 @@ LibertyReader::endTiming(LibertyGroup *group)
|
||||||
}
|
}
|
||||||
TimingType timing_type = timing_->attrs()->timingType();
|
TimingType timing_type = timing_->attrs()->timingType();
|
||||||
if (timing_->relatedPortNames() == nullptr
|
if (timing_->relatedPortNames() == nullptr
|
||||||
&& !(timing_type == TimingType::min_clock_tree_path
|
&& !(timing_type == TimingType::min_pulse_width
|
||||||
|
|| timing_type == TimingType::min_clock_tree_path
|
||||||
|| timing_type == TimingType::max_clock_tree_path))
|
|| timing_type == TimingType::max_clock_tree_path))
|
||||||
libWarn(1243, group, "timing group missing related_pin/related_bus_pin.");
|
libWarn(1243, group, "timing group missing related_pin/related_bus_pin.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue