From 56bd48442988e9f3b8ce513d8190d1579120fc98 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 12 Dec 2014 18:40:53 +0100 Subject: [PATCH] In BlockPower, manage correctly a block without clock tree. --- cumulus/src/plugins/chip/BlockPower.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cumulus/src/plugins/chip/BlockPower.py b/cumulus/src/plugins/chip/BlockPower.py index d081bac5..a572ec94 100644 --- a/cumulus/src/plugins/chip/BlockPower.py +++ b/cumulus/src/plugins/chip/BlockPower.py @@ -218,6 +218,10 @@ class Block ( chip.Configuration.ChipConfWrapper ): def connectClock ( self ): + if not self.useClockTree: + print WarningMessage( "Clock tree generation has been disabled ('chip.clockTree':False) ignored." ) + return + if not self.cko: print ErrorMessage( 1, 'Cannot build clock terminal as ck is not known.' ) return