Research Article

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

Algorithm 8

Allocation selection based on the EAC and EVC heuristics: Allocate_EAC() and Allocate_EVC().
        input: 2DAM (when using EAC), 3DAM (when using EVC) and
        output: Allocation (x,y)
1      ;                    /* when using EAC or */
1      ;                   /* when using EVC */
2     for     do
3      if  column_MER[ ]   then
4       for     do
5        if  DRAM[ ][ ] ≥ and RAM[ ][ ] ≥   then
6          ;                  /* when using EAC or */
6          ;                  /* when using EVC */
7         for     do
8          for     do
9            + 2DAM[m][n];         /* when using EAC or */
9            + 3DAM[m][n];           /* when using EVC */
10        end for
11        end for
12      if                   /* when using EAC or */
                        /* when using EVC */
      then
13        ;
14        ;
15      end if
16      end if
17     end for
18    end if  
19   end for
20  if
                   /* when using EAC or */
                 /* when using EVC */
  then
21   return  ( );
22  else
23   return Ø;
24  end if