aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-11-14 08:46:10 +0000
committerDavid Shah <davey1576@gmail.com>2018-11-14 08:46:10 +0000
commitadc50a207fb442a7b44ac76b8d04dc5477c23c8f (patch)
tree21f88096963be087537545ca74fd1de39bacdda2 /common/nextpnr.cc
parent9f13bc7eb0f5045f82360c7b6d686cfe0b6c8e01 (diff)
downloadnextpnr-adc50a207fb442a7b44ac76b8d04dc5477c23c8f.tar.gz
nextpnr-adc50a207fb442a7b44ac76b8d04dc5477c23c8f.tar.bz2
nextpnr-adc50a207fb442a7b44ac76b8d04dc5477c23c8f.zip
Timing fixes
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/nextpnr.cc')
-rw-r--r--common/nextpnr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index 514017c6..b304f4f4 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -409,6 +409,7 @@ void Context::check() const
void BaseCtx::addClock(IdString net, float freq)
{
+ log_info(" constraining clock net '%s' to %.02f MHz\n", net.c_str(this), freq);
std::unique_ptr<ClockConstraint> cc(new ClockConstraint());
cc->period = getCtx()->getDelayFromNS(1000 / freq);
cc->high = getCtx()->getDelayFromNS(500 / freq);