Sep 3, 2019 #1 M manush30 Member level 1 Joined Jul 14, 2016 Messages 33 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Activity points 340 Hi, i'm writing a code to injection data to another board through PCIe. I'm doing it with Avalon MM master/slave. The parameters are: Burstcount- 10h Readdata -64b In the Avalon MM, when the read request asserted low then after numbers of clocks the readdatavalid goes high. After is we can start to read 64b data. Between the read request and the readatavalid we have ~134 clocks. Because this latency my SM stuck without receiving any data Thers is an option to decrease this latency? Maybe, to change parameters at the IP core? (i didn't find it at the datasheet but still keep searching) Thanks u all
Hi, i'm writing a code to injection data to another board through PCIe. I'm doing it with Avalon MM master/slave. The parameters are: Burstcount- 10h Readdata -64b In the Avalon MM, when the read request asserted low then after numbers of clocks the readdatavalid goes high. After is we can start to read 64b data. Between the read request and the readatavalid we have ~134 clocks. Because this latency my SM stuck without receiving any data Thers is an option to decrease this latency? Maybe, to change parameters at the IP core? (i didn't find it at the datasheet but still keep searching) Thanks u all
Sep 3, 2019 #2 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,047 Trophy points 1,393 Activity points 39,769 I would say there is a problem with your state machine - why cant it cope with a large latency?
Sep 3, 2019 #3 M manush30 Member level 1 Joined Jul 14, 2016 Messages 33 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Activity points 340 My state machine working great. I did simulation and not suffer with such a problem. If I increase the Burstcount to 64 bit, sometimes it's work and sometimes not. But still, I need to work with 16b transfer data
My state machine working great. I did simulation and not suffer with such a problem. If I increase the Burstcount to 64 bit, sometimes it's work and sometimes not. But still, I need to work with 16b transfer data
Sep 3, 2019 #4 S std_match Advanced Member level 4 Joined Jul 9, 2010 Messages 1,304 Helped 463 Reputation 926 Reaction score 448 Trophy points 1,363 Location Sweden Activity points 10,169 The latency can vary a lot in the real world, and it seems normal in your case. I think your state machine should be able to handle latencies up to about 10 us.
The latency can vary a lot in the real world, and it seems normal in your case. I think your state machine should be able to handle latencies up to about 10 us.