opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[hw/tlul] Create generic module for re-order buffer to support out-of-order responses

Open eunchan opened this issue 7 years ago • 3 comments

as @NilsGraf mentioned in lowRISC/stwg-base#474 a_source should be unique. If a host wants to send multiple requests, it needs to handle out-of-order responses. It looks like {a|c}_source may consider NoC case but it introduces a little bit of complex in a simple interconnect like the one in OpenTitan.

It is planned to implement DMA module later, so we should prepare the general logic to handle out-of-order response.

Idea is: to have general re-order buffer under tlul. It is parameterized ( #ofOutstandings ). Internal interface should be similar to the tilelink but a_source can be ignored. The re-order buffer will take care of it (assigning new tag(source id) and releasing it).

@taoliug @sriyerg could you please check if current tlul_agent uses arbitrary a_source value for each request?

eunchan avatar May 28 '19 23:05 eunchan

FYI: I ran the sanity sim in gpio and it uses different a_source value for requests (almost each request has a different a_source). Not sure if that answers your question.

NilsGraf avatar May 28 '19 23:05 NilsGraf

@eunchan any update in the thinking on this one?

sjgitty avatar Jan 03 '20 23:01 sjgitty

Thanks for the brought up this issue (buried deeply long long ago). This module, re-order buffer isn't necessary in OT design yet. If we have to adopt TL IPs into OT, reorder buffer will be needed.

We can close this issue for now and re-open when it is needed.

eunchan avatar Jan 06 '20 17:01 eunchan