Research Article

Exploiting Partial Reconfiguration through PCIe for a Microphone Array Network Emulator

Algorithm 2

Merging of the nodes’ configurations.
  input: Nodes’ configuration list
  output: Merged configuration list
(1) begin
(2)   ;
(3)   ;
(4)   for do
(5)     if AreaCost() then
(6)       ;
(7)       AccAreaCost() AreaCost();
(8)       CompatibleRMs() SmallestRM();
(9)        InsertIn();
(10)     end
(11)     else
(12)       if AreaCost() + AccAreaCost() then
(13)          InsertIn();
(14)         ;
(15)         AccAreaCost() AreaCost();
(16)         CompatibleRMs() SmallestRM();
(17)       end
(18)       else
(19)          InsertIn();
(20)         AccAreaCost() AccAreaCost() +
            max(AreaCost(;
(21)        end
(22)      end
(23)   end
(24) end