Commit 3bd1706
committed
[xbar,rtl] support fifo_depth>1
This commit adds the possibility to increase the fifo depth in the xbar
to values > 1 to support multiple outstanding transactions.
Why this is beneficial:
The ibex instruction cache issues two 32b requests to the flash controller.
Inside xbar_main a pipeline register is added to break the critical path
to the flash. The pipeline register is added with a fifo of depth=1 for
req and rsp data and effectively inserts a bubble after each request and
response because the fifo is immediately full. Ibex and flash_ctrl can
deal with up to 2 outstanding transactions.
The impact on performance is low because the instruction cache reads the
critical word first and hides the additional latency that is inserted by
the fifo with depth=1. Nonetheless, in phases with many cache misses,
the performance can be improved at the price of an additional fifo entry.
Signed-off-by: Michael Gautschi <[email protected]>1 parent 1ac1583 commit 3bd1706
File tree
7 files changed
+19
-4
lines changed- hw/top_earlgrey
- data
- autogen
- ip/xbar_main
- data/autogen
- rtl/autogen
- util/tlgen
7 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11012 | 11012 | | |
11013 | 11013 | | |
11014 | 11014 | | |
| 11015 | + | |
11015 | 11016 | | |
11016 | 11017 | | |
11017 | 11018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
| 969 | + | |
968 | 970 | | |
969 | 971 | | |
970 | 972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
| 393 | + | |
392 | 394 | | |
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
| 399 | + | |
| 400 | + | |
397 | 401 | | |
398 | 402 | | |
399 | 403 | | |
| |||
0 commit comments