Is it possible to share clock block between two cores on dif Topic is solved

If you have a simple question and just want an answer.
Post Reply
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Is it possible to share clock block between two cores on dif

Post by sethu_jangala »



View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

It is not possible to share a clock block on two different tiles. You  can share the clock block on the same tile beween two different cores. The following example shows the usgae of clock block on two different cores on the same tile.

void processes() {
  // Configure clock block
  // configure port A to use clock block
  // configure port B to use clock block
  // start clock block
  par {
    process1();
    process2();
  }
}
int main() {
  par {
    on tile[0]: processes();
    ...
  }
  return 0;
}

Post Reply