sdf: Improve SDF output
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
4775930e49
commit
8343488bdf
@ -253,9 +253,13 @@ void Context::writeSDF(std::ostream &out) const
|
|||||||
TimingPortClass cls = getPortTimingClass(ci, port.first, clockCount);
|
TimingPortClass cls = getPortTimingClass(ci, port.first, clockCount);
|
||||||
if (cls == TMG_IGNORE)
|
if (cls == TMG_IGNORE)
|
||||||
continue;
|
continue;
|
||||||
|
if (port.second.net == nullptr)
|
||||||
|
continue; // Ignore disconnected ports
|
||||||
if (port.second.type != PORT_IN) {
|
if (port.second.type != PORT_IN) {
|
||||||
// Add combinational paths to this output (or inout)
|
// Add combinational paths to this output (or inout)
|
||||||
for (auto other : ci->ports) {
|
for (auto other : ci->ports) {
|
||||||
|
if (other.second.net == nullptr)
|
||||||
|
continue;
|
||||||
if (other.second.type == PORT_OUT)
|
if (other.second.type == PORT_OUT)
|
||||||
continue;
|
continue;
|
||||||
DelayInfo dly;
|
DelayInfo dly;
|
||||||
|
Loading…
Reference in New Issue
Block a user