From 7994db90b1670ffd617612c0199e8d6a4ec4cb25 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Fri, 21 Feb 2020 15:18:21 -0800 Subject: [PATCH] Set initial tkeep state in testbenches --- tb/test_arp.py | 4 ++-- tb/test_arp_64.py | 4 ++-- tb/test_arp_eth_rx.py | 2 +- tb/test_arp_eth_rx_64.py | 2 +- tb/test_arp_eth_tx.py | 2 +- tb/test_arp_eth_tx_64.py | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tb/test_arp.py b/tb/test_arp.py index af7e934f3..6cc1c06ce 100755 --- a/tb/test_arp.py +++ b/tb/test_arp.py @@ -67,7 +67,7 @@ def bench(): s_eth_src_mac = Signal(intbv(0)[48:]) s_eth_type = Signal(intbv(0)[16:]) s_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - s_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + s_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) s_eth_payload_axis_tvalid = Signal(bool(0)) s_eth_payload_axis_tlast = Signal(bool(0)) s_eth_payload_axis_tuser = Signal(bool(0)) @@ -94,7 +94,7 @@ def bench(): m_eth_src_mac = Signal(intbv(0)[48:]) m_eth_type = Signal(intbv(0)[16:]) m_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - m_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + m_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) m_eth_payload_axis_tvalid = Signal(bool(0)) m_eth_payload_axis_tlast = Signal(bool(0)) m_eth_payload_axis_tuser = Signal(bool(0)) diff --git a/tb/test_arp_64.py b/tb/test_arp_64.py index c3fd73666..5e37a4ff4 100755 --- a/tb/test_arp_64.py +++ b/tb/test_arp_64.py @@ -67,7 +67,7 @@ def bench(): s_eth_src_mac = Signal(intbv(0)[48:]) s_eth_type = Signal(intbv(0)[16:]) s_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - s_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + s_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) s_eth_payload_axis_tvalid = Signal(bool(0)) s_eth_payload_axis_tlast = Signal(bool(0)) s_eth_payload_axis_tuser = Signal(bool(0)) @@ -94,7 +94,7 @@ def bench(): m_eth_src_mac = Signal(intbv(0)[48:]) m_eth_type = Signal(intbv(0)[16:]) m_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - m_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + m_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) m_eth_payload_axis_tvalid = Signal(bool(0)) m_eth_payload_axis_tlast = Signal(bool(0)) m_eth_payload_axis_tuser = Signal(bool(0)) diff --git a/tb/test_arp_eth_rx.py b/tb/test_arp_eth_rx.py index bdea43ea3..115463c16 100755 --- a/tb/test_arp_eth_rx.py +++ b/tb/test_arp_eth_rx.py @@ -58,7 +58,7 @@ def bench(): s_eth_src_mac = Signal(intbv(0)[48:]) s_eth_type = Signal(intbv(0)[16:]) s_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - s_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + s_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) s_eth_payload_axis_tvalid = Signal(bool(0)) s_eth_payload_axis_tlast = Signal(bool(0)) s_eth_payload_axis_tuser = Signal(bool(0)) diff --git a/tb/test_arp_eth_rx_64.py b/tb/test_arp_eth_rx_64.py index 1fd3d2e3a..2ffc9b978 100755 --- a/tb/test_arp_eth_rx_64.py +++ b/tb/test_arp_eth_rx_64.py @@ -58,7 +58,7 @@ def bench(): s_eth_src_mac = Signal(intbv(0)[48:]) s_eth_type = Signal(intbv(0)[16:]) s_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - s_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + s_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) s_eth_payload_axis_tvalid = Signal(bool(0)) s_eth_payload_axis_tlast = Signal(bool(0)) s_eth_payload_axis_tuser = Signal(bool(0)) diff --git a/tb/test_arp_eth_tx.py b/tb/test_arp_eth_tx.py index fcb8b421c..7066f219a 100755 --- a/tb/test_arp_eth_tx.py +++ b/tb/test_arp_eth_tx.py @@ -74,7 +74,7 @@ def bench(): m_eth_src_mac = Signal(intbv(0)[48:]) m_eth_type = Signal(intbv(0)[16:]) m_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - m_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + m_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) m_eth_payload_axis_tvalid = Signal(bool(0)) m_eth_payload_axis_tlast = Signal(bool(0)) m_eth_payload_axis_tuser = Signal(bool(0)) diff --git a/tb/test_arp_eth_tx_64.py b/tb/test_arp_eth_tx_64.py index dac159851..1d3191672 100755 --- a/tb/test_arp_eth_tx_64.py +++ b/tb/test_arp_eth_tx_64.py @@ -74,7 +74,7 @@ def bench(): m_eth_src_mac = Signal(intbv(0)[48:]) m_eth_type = Signal(intbv(0)[16:]) m_eth_payload_axis_tdata = Signal(intbv(0)[DATA_WIDTH:]) - m_eth_payload_axis_tkeep = Signal(intbv(0)[KEEP_WIDTH:]) + m_eth_payload_axis_tkeep = Signal(intbv(1)[KEEP_WIDTH:]) m_eth_payload_axis_tvalid = Signal(bool(0)) m_eth_payload_axis_tlast = Signal(bool(0)) m_eth_payload_axis_tuser = Signal(bool(0))