In reply to Prathamesh Govardhane:
I have code for AHB VIP on my GitHub. However this does not have arbiter, and its only a basic implementation with few issues. But you will be able to understand how VIP components interact with each other, and how to set it for active/passive configuration.