PoC.bus.Arbiter

This module implements a generic arbiter. It currently supports the following arbitration strategies:

  • Round Robin (RR)

Entity Declaration:

 1    PORTS                     : positive                  := 1;
 2    WEIGHTS                   : T_INTVEC                  := (0 => 1);
 3    OUTPUT_REG                : boolean                   := TRUE
 4  );
 5  port (
 6    Clock                     : in  std_logic;
 7    Reset                     : in  std_logic;
 8
 9    Arbitrate                 : in  std_logic;
10    Request_Vector            : in  std_logic_vector(PORTS - 1 downto 0);
11
12    Arbitrated                : out std_logic;
13    Grant_Vector              : out std_logic_vector(PORTS - 1 downto 0);
14    Grant_Index               : out std_logic_vector(log2ceilnz(PORTS) - 1 downto 0)
15  );
16end entity;
17
18
19architecture rtl of bus_Arbiter is