From 25b890f8bbac673a3bbffc2bffad8e0b24a841ca Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 29 Dec 2020 18:55:13 -0800 Subject: [PATCH] Remove extraneous code --- tb/eth_axis_rx/test_eth_axis_rx.py | 3 --- tb/eth_axis_tx/test_eth_axis_tx.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/tb/eth_axis_rx/test_eth_axis_rx.py b/tb/eth_axis_rx/test_eth_axis_rx.py index 7bf0cb7f0..ab2aa3ecd 100644 --- a/tb/eth_axis_rx/test_eth_axis_rx.py +++ b/tb/eth_axis_rx/test_eth_axis_rx.py @@ -53,9 +53,6 @@ class TB: self.log = logging.getLogger("cocotb.tb") self.log.setLevel(logging.DEBUG) - self._enable_generator = None - self._enable_cr = None - cocotb.fork(Clock(dut.clk, 8, units="ns").start()) self.source = AxiStreamSource(dut, "s_axis", dut.clk, dut.rst) diff --git a/tb/eth_axis_tx/test_eth_axis_tx.py b/tb/eth_axis_tx/test_eth_axis_tx.py index be15f75f7..449f83362 100644 --- a/tb/eth_axis_tx/test_eth_axis_tx.py +++ b/tb/eth_axis_tx/test_eth_axis_tx.py @@ -53,9 +53,6 @@ class TB: self.log = logging.getLogger("cocotb.tb") self.log.setLevel(logging.DEBUG) - self._enable_generator = None - self._enable_cr = None - cocotb.fork(Clock(dut.clk, 8, units="ns").start()) self.header_source = EthHdrSource(dut, "s_eth", dut.clk, dut.rst)