In BlockPower, manage correctly a block without clock tree.
This commit is contained in:
parent
a09e716ce9
commit
56bd484429
|
@ -218,6 +218,10 @@ class Block ( chip.Configuration.ChipConfWrapper ):
|
||||||
|
|
||||||
|
|
||||||
def connectClock ( self ):
|
def connectClock ( self ):
|
||||||
|
if not self.useClockTree:
|
||||||
|
print WarningMessage( "Clock tree generation has been disabled ('chip.clockTree':False) ignored." )
|
||||||
|
return
|
||||||
|
|
||||||
if not self.cko:
|
if not self.cko:
|
||||||
print ErrorMessage( 1, 'Cannot build clock terminal as ck is not known.' )
|
print ErrorMessage( 1, 'Cannot build clock terminal as ck is not known.' )
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue