From 6f7ae8496bf9e26792812ac512c1f243e717fef1 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 29 Aug 2018 16:28:07 +0200 Subject: [PATCH] frontend/axi: increase default depth of buffers to improve performance --- litedram/frontend/axi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litedram/frontend/axi.py b/litedram/frontend/axi.py index 9d31215..1b522ec 100644 --- a/litedram/frontend/axi.py +++ b/litedram/frontend/axi.py @@ -122,7 +122,7 @@ class LiteDRAMAXIBurst2Beat(Module): class LiteDRAMAXI2NativeW(Module): - def __init__(self, axi, port, buffer_depth=8): + def __init__(self, axi, port, buffer_depth): self.cmd_request = Signal() self.cmd_grant = Signal() @@ -177,7 +177,7 @@ class LiteDRAMAXI2NativeW(Module): class LiteDRAMAXI2NativeR(Module): - def __init__(self, axi, port, buffer_depth=8): + def __init__(self, axi, port, buffer_depth): self.cmd_request = Signal() self.cmd_grant = Signal() @@ -246,7 +246,7 @@ class LiteDRAMAXI2NativeR(Module): class LiteDRAMAXI2Native(Module): - def __init__(self, axi, port, w_buffer_depth=8, r_buffer_depth=8): + def __init__(self, axi, port, w_buffer_depth=16, r_buffer_depth=16): # # #