AMBA 3 AHB-Lite Protocol master and slave connection

0down votefavorite

i want to make a design for AMBA 3 AHB-Lite Protocol i have the design for master and slave but i have a problem when i make the test bench the value of the HRDATA is do not care ,on the other hand the slave design return the correct value for HRDATA but the master does not, is there a special method to connect the master and slave together ???

i attached the codes for master, slave and test bench

10141.zip