lb_size;
                  end if;
              end if;
           end if;
        end process LATCH_BAR_SIZE_REG;

-------------------------------------------------------------------------------
-- Process to capture PLB master ID that causes the BAR interrupt
-------------------------------------------------------------------------------

        LATCH_BAR_MID_REG : process (SPLB_Clk)
        begin
           if (SPLB_Clk'event and SPLB_Clk = '1') then
              if (SPLB_Rst = '1') then
                 Bar_mid <= (others => '0');
              else
                 if(bar_irpt_one = '1') then
                    Bar_mid <= PLB_masterID;
                 end if;
              end if;
           end if;
        end process LATCH_BAR_MID_REG;
      
-------------------------------------------------------------------------------
-- Process to capture PLB RNW that causes the BAR interrupt
-------------------------------------------------------------------------------

        LATCH_BAR_RNW_REG : process (SPLB_Clk)
        begin
           if (SPLB_Clk'event and SPLB_Clk = '1') then
              if (SPLB_Rst = '1') then
                 Bar_rnw <= '0';
              else
                 if(bar_irpt_one = '1') then
                    Bar_rnw <= PLB_RNW;
                 end if;
              end if;
           end if;
        end process LATCH_BAR_RNW_REG;

-------------------------------------------------------------------------------
-- ****************************************************************************
-------------------------------------------------------------------------------
-- Logic for generating Bar interrupt - End
-------------------------------------------------------------------------------
-- ****************************************************************************

    end generate GEN_BAR_ERR_SIGNALS;

-------------------------------------------------------------------------------
-- PLB Master  Validation
-- This combinatorial process validates the PLB master attribute PLBmsize
