This is referred to as "Bandwidth monitoring" and is a fairly involved job. I don't have the exact equation handy, but it basically looks at things like:
[li] Bus/Data width
[li] Frequency
[li] Inter frame gap
[li] Pkt length
Based on these, one calculates the transfer rate. A fully random test may not even exercise the "100% utilization test" as the IFG may be random, it should rather be kept to minimum.
With SV, one can add cover property, covergroup to measure these and also add tasks in SV interface to monitor and calculate the transfer rate.
hi As regarding to the transfer rate in ethernet there are 10/100 MBPS And IGBPS mode that i know about ...
Take example of the 10/110 Mbps mode we calculate the Transfer rate depending on the Bus width and the frequency it operates on
1) 10 Mbps Calculation ..
Bus width = 4 bits
frequency = 2.5 Mhz
Transfer rate = Bus width * Frequency
= 4 bits X 2.5 Mhz
= 10 Mbps
2) 1 G mode calculation
bus width = 8 bits
frequency = 125 Mhz
transfer rate = 8 bits X 125 Mhz
= 1000 MBPS
= 1 GBPS
But i would also like to know What Bus Width Reflects to........
I mean What is Bus Width..........
Thanks...............
Bus width means what should be the data which is getting transferred in one clock say for 10/100 mode the bus width is 4 bits .. means 4 bits of data is transferred in one clock .. for 1 G mode the amount of data transferred in one clock is one byte so the bus width has to be 8 bits .. (its Given by IEEE )