From f1233c6b833cd93950f27cd72fd05dee8a893f5d Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 28 Jul 2020 15:35:33 +0200 Subject: [PATCH] Rename DelayLine -> _DelayLine --- gram/core/crossbar.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gram/core/crossbar.py b/gram/core/crossbar.py index e7f127c..126a133 100644 --- a/gram/core/crossbar.py +++ b/gram/core/crossbar.py @@ -13,7 +13,7 @@ import gram.stream as stream __ALL__ = ["gramCrossbar"] -class DelayLine(Elaboratable): +class _DelayLine(Elaboratable): def __init__(self, delay): if delay < 1: raise ValueError("delay value must be 1+") @@ -159,13 +159,13 @@ class gramCrossbar(Elaboratable): # Delay write/read signals based on their latency for nm, master_wdata_ready in enumerate(master_wdata_readys): - delayline = DelayLine(self.write_latency) + delayline = _DelayLine(self.write_latency) m.submodules += delayline m.d.comb += delayline.i.eq(master_wdata_ready) master_wdata_readys[nm] = delayline.o for nm, master_rdata_valid in enumerate(master_rdata_valids): - delayline = DelayLine(self.read_latency) + delayline = _DelayLine(self.read_latency) m.submodules += delayline m.d.comb += delayline.i.eq(master_rdata_valid) master_rdata_valids[nm] = delayline.o -- 2.30.2