A novel O(n) parallel banker's algorithm for System-on-a-Chip