Hi,
I am implementing arbiter module for AMBA AHB protocol for real time masters in verilog HDL. For that I need to calculate deadline for the real time masters. It will be calculated as:
Deadline = Execution time + Arrival time of request + slack(assumed).
Hence I need to know the amount of data the master is going to read or write for calculating execution time. I need the HBURST signal, that is already input to arbiter and HSIZE signal that is not an input to the arbiter to calculate the total amount of data to be transferred and hence to calculate execution time. For that I am planning to implement a deadline calculator inside arbiter.
(1) So my question is that can I use HSIZE signal from the master as input to the arbiter (see attachment 1).
(2)Or should I implement a deadline calculator block outside arbiter block and give its output to arbiter (see attachment 2), but in that case also I will have to make use of a new signal which is not specified by the protocol. Is this allowed?
(3) If not then how will I calculate deadline for the request issued by real time master.