mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Add combined TX/RX bus with all signals
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
df32016724
commit
52e7af8a5d
@ -54,14 +54,23 @@ class BaseBus(Bus):
|
||||
return cls(entity, prefix, **kwargs)
|
||||
|
||||
|
||||
class PcieIfBus(BaseBus):
|
||||
_signals = ["hdr", "valid", "sop", "eop", "ready"]
|
||||
_optional_signals = ["data", "strb", "error", "tlp_prfx", "vf_active",
|
||||
"func_num", "vf_num", "data_par", "hdr_par", "tlp_prfx_par",
|
||||
"seq", "bar_id", "tlp_abort"]
|
||||
|
||||
|
||||
class PcieIfTxBus(BaseBus):
|
||||
_signals = ["hdr", "valid", "sop", "eop", "ready"]
|
||||
_optional_signals = ["data", "strb", "tlp_prfx", "data_par", "hdr_par", "tlp_prfx_par", "seq", "err"]
|
||||
_optional_signals = ["data", "strb", "tlp_prfx",
|
||||
"data_par", "hdr_par", "tlp_prfx_par", "seq"]
|
||||
|
||||
|
||||
class PcieIfRxBus(BaseBus):
|
||||
_signals = ["hdr", "valid", "sop", "eop", "ready"]
|
||||
_optional_signals = ["data", "strb", "error", "tlp_prfx", "vf_active", "func_num", "vf_num", "data_par", "hdr_par", "tlp_prfx_par", "bar_id", "tlp_abort"]
|
||||
_optional_signals = ["data", "strb", "error", "tlp_prfx", "vf_active", "func_num", "vf_num",
|
||||
"data_par", "hdr_par", "tlp_prfx_par", "bar_id", "tlp_abort"]
|
||||
|
||||
|
||||
def dword_parity(d):
|
||||
|
Loading…
x
Reference in New Issue
Block a user