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
thank you , I will check master and slave code again .
I want to ask if it necessary to use multiplexer between the AHB-3 master
and slave ( i did not use it because i have only
one master and one slave ) ????
2016-06-13 17:05 GMT+03:00 jd_ <community@arm.com>:
AMBA 3 AHB-Lite Protocol master and slave connection reply from jd_ <https://community.arm.com/people/jd_?et=watches.email.thread> in *ARM
AMBA 3 AHB-Lite Protocol master and slave connection
reply from jd_
<https://community.arm.com/people/jd_?et=watches.email.thread> in *ARM
Hi fatima,
You still need to replicate the behaviour of the MUX even when you have just one slave, but this is simply routing the HREADYOUT from your slave to the master's HREADY input, and also looping it back to the slave's HREADY input.
At all times the slaves should see on their HREADY inputs the wait states being signalled by the currently selected slave, so usually selected by a MUX when you have multiple slaves, or by a direct feedback loop connection when there is only one slave to be selected.
The illegal HTRANS sequences and incorrect driving of HREADY back to the slave might not be the causes of the problem in your simulation, but by removing all incorrect stimulus you can then focus on what remains.
JD