From e91366cd315641ee40a4fc34633e1296b4be3643 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 18 Dec 2018 10:57:05 +0100 Subject: [PATCH] frontend/axi: use buffered SyncFIFO on datapath (reduce resource usage) --- litedram/frontend/axi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litedram/frontend/axi.py b/litedram/frontend/axi.py index a4069d9..9530bd7 100644 --- a/litedram/frontend/axi.py +++ b/litedram/frontend/axi.py @@ -158,7 +158,7 @@ class LiteDRAMAXI2NativeW(Module): self.submodules.aw_burst2beat = aw_burst2beat # Write Buffer - w_buffer = stream.SyncFIFO(w_description(axi.data_width), buffer_depth) + w_buffer = stream.SyncFIFO(w_description(axi.data_width), buffer_depth, buffered=True) self.submodules.w_buffer = w_buffer # Write ID Buffer & Response @@ -225,7 +225,7 @@ class LiteDRAMAXI2NativeR(Module): self.submodules.ar_burst2beat = ar_burst2beat # Read buffer - r_buffer = stream.SyncFIFO(r_description(axi.data_width, axi.id_width), buffer_depth) + r_buffer = stream.SyncFIFO(r_description(axi.data_width, axi.id_width), buffer_depth, buffered=True) self.submodules.r_buffer = r_buffer # Read Buffer reservation