mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-28 07:03:08 +08:00
Set initial tkeep state in testbenches
This commit is contained in:
parent
8618b24dea
commit
7994db90b1
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user