From 004e3f59d77bccc1b4ba33b1f32eb13a4e68015e Mon Sep 17 00:00:00 2001 From: Arne Jansen Date: Thu, 8 Dec 2022 18:11:01 +0100 Subject: [PATCH] mac: fix typo --- liteeth/mac/wishbone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/mac/wishbone.py b/liteeth/mac/wishbone.py index 9a76dfc..f32b346 100644 --- a/liteeth/mac/wishbone.py +++ b/liteeth/mac/wishbone.py @@ -40,7 +40,7 @@ class LiteEthMACWishboneInterface(Module, AutoCSR): # Wishbone SRAM interfaces for the reader SRAM (i.e. Ethernet TX). wb_tx_sram_ifs = [] - for n in range(nrxslots): + for n in range(ntxslots): wb_tx_sram_ifs.append(wishbone.SRAM( mem_or_size = self.sram.reader.mems[n], read_only = False,