clocking clockblock from multiple bit port

Technical questions regarding the XTC tools and programming with XMOS.
pasau
Experienced Member
Posts: 77
Joined: Fri Dec 06, 2013 7:05 pm

clocking clockblock from multiple bit port

Post by pasau »

Hi, i know that trying to set a clock source from a port that is not a 1 bit port will raise an exception. Is there a workaround for this? I would like a way to set a clock source from a bit from a wider port if possible. Thanks!
User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Post by segher »

Short answer: you cannot.

Longer answer: you might be able to do what you want to
do some other way than (directly) via a clock block.