Research Article
Runtime Scheduling, Allocation, and Execution of Real-Time Hardware Tasks onto Xilinx FPGAs Subject to Fault Occurrence
Algorithm 4
EAC heuristic: Compute_URAM(), Compute_ULAM(), Compute_DRAM() and Compute_DLAM().
input: RAM (for URAM and DRAM computation) and | LAM (for ULAM and DLAM computation) | output: URAM, ULAM, DRAM and DLAM | 1 for do | 2 for do | 3 RAM[x][y]; /* when computing URAM/DRAM or */ | 3 LAM[x][y]; /* when computing ULAM/DLAM */ | 4 ; | 5 ; | 6 while do | 7 ; | 8 while and and | RAM[i][k] /* when computing URAM/DRAM or */ | LAM[i][k] /* when computing ULAM/DLAM */ | do | 9 ; | 10 ; /* when computing URAM/ULAM or */ | 10 ; /* when computing DRAM/DLAM */ | 11 end while | 12 if then | 13 ; | 14 end if | 15 ; | 16 end while | 17 end for | 18 end for | 19 URAM[x][y]; /* when computing URAM or */ | 19 ULAM[x][y]; /* when computing ULAM or */ | 19 DRAM[x][y]; /* when computing DRAM or */ | 19 DLAM[x][y]; /* when computing DLAM */ |
|