aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/arch.cc')
-rw-r--r--nexus/arch.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc
index cb8cacf8..0241e832 100644
--- a/nexus/arch.cc
+++ b/nexus/arch.cc
@@ -546,6 +546,14 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in
if (type == TMG_REGISTER_INPUT || type == TMG_REGISTER_OUTPUT)
clockInfoCount = 1;
return type;
+ } else if (cell->type == id_DCC) {
+ if (port == id_CLKI)
+ return TMG_CLOCK_INPUT;
+ else if (port == id_CLKO)
+ return TMG_GEN_CLOCK;
+ else if (port == id_CE)
+ return TMG_COMB_INPUT;
+ return TMG_IGNORE;
}
return TMG_IGNORE;
}