Research Article

Runtime Scheduling, Allocation, and Execution of Real-Time Hardware Tasks onto Xilinx FPGAs Subject to Fault Occurrence

Algorithm 3

EAC heuristic: Compute_RAM() and Compute_LAM().
input: FPGA_state (i.e. for each FPGA position Available or Not Available)
output: RAM and LAM
1  for
         /* when computing RAM or */
          /* when computing LAM */
  do
2     ;
3    for     do
4      if  FPGA_state[ ][ ] is Available then
5        ;
6       RAM[i][j] ;          /* when computing RAM or */
6       LAM[i][j] ;          /* when computing LAM */
7         else
8      ;
9       RAM[i][j] ;           /* when computing RAM or */
9       LAM[i][j] ;           /* when computing LAM */
10      end if
11 end for
12  end for