pulp-platform / axi

AXI SystemVerilog synthesizable IP modules and verification infrastructure for high-performance on-chip communication
Other
1.11k stars 268 forks source link

axi_lite_xbar component arbitration #2

Closed bchetwynd closed 6 years ago

bchetwynd commented 6 years ago

I am leveraging the axi_lite_xbar component to interface a hardware architecture processor to a variety of peripherals. As I am not terribly concerned with performance, I set it up to have two masters: instruction bus and data bus. Unfortunately, while the axi_lite_xbar has arbiters in it, reads and writes are separated. When I have the instruction bus (master 0) doing lots of reads, and the data bus (master 1) try to do a write, it seems to be permanently stalled. Is it possible to arbitrate reads and writes across all masters?

bchetwynd commented 6 years ago

Since Github won't let you delete issues, I merely need to close it. There is an issue with my peripheral... not the crossbar.

zarubaf commented 6 years ago

Okay, still happy to help if you run into troubles.

bchetwynd commented 6 years ago

Florian,

Much appreciated. I will say that after exploring things a bit more, it seems like the arbiter should arbitrate between read and write requests. Otherwise, I have can have concurrent requests going to a single component. I need to dig into the AXI4-Lite spec some more,, but I am guessing that concurrent operating the read and write channels is probably not allowed….

Thank you,

Brendon

============================================================================

Brendon Chetwynd Technical Staff

MIT Lincoln Laboratory

                                 Cyber Systems and Operations (Group 51)

244 Wood Street Lexington, MA 02420-9185

                                                   781-981-8212 (office)

brendon.chetwynd@ll.mit.edu 781-879-4635 (cell)

                                                   781-387-3030 (pager)

                                                   781-981-7548 (fax)

============================================================================

From: Florian Zaruba notifications@github.com Sent: Wednesday, October 17, 2018 3:29 PM To: pulp-platform/axi axi@noreply.github.com Cc: Chetwynd, Brendon - 0551 - MITLL Brendon.Chetwynd@ll.mit.edu; State change state_change@noreply.github.com Subject: Re: [pulp-platform/axi] axi_lite_xbar component arbitration (#2)

Okay, still happy to help if you run into troubles.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pulp-platform/axi/issues/2#issuecomment-430758056 , or mute the thread https://github.com/notifications/unsubscribe-auth/ATL2zYC5HV4XZVMJ2gVbKy5qi8DklctIks5ul4UAgaJpZM4Xk1c5 .