Fill 10BASE-T numbers from IEEE 802.3-2015 Section One Clause 14 (2.77.0).
Cable 100 Ω / 100 m / 11.5 dB stay CABLE. L2 PCB Zdiff UNKNOWN. 1000BASE-T not in this volume.
This commit is contained in:
@@ -190,13 +190,23 @@ def test_ieee8023_section2_100base_tx_not_10base_or_1000():
|
||||
assert z.value_kind == "UNKNOWN"
|
||||
assert "TP-PMD" in (z.needed_document or "")
|
||||
ten = next(p for p in cat.physical_interfaces if p.id == "10base-t-mdi")
|
||||
tdr = next(c for c in ten.constraints if c.parameter == "data_rate")
|
||||
assert tdr.value_kind == "UNKNOWN"
|
||||
assert "Clause 14" in (tdr.needed_document or "")
|
||||
tby = {c.parameter: c for c in ten.constraints}
|
||||
_cite_ok(tby["data_rate"])
|
||||
assert tby["data_rate"].value == 10.0
|
||||
assert tby["data_rate"].source.revision == "2015"
|
||||
assert tby["data_rate"].source.section == "14.1.1"
|
||||
assert tby["data_rate"].source.page == "374"
|
||||
_cite_ok(tby["cable_channel"])
|
||||
assert tby["cable_channel"].value == 100.0
|
||||
assert tby["cable_channel"].source_type == "CABLE"
|
||||
assert tby["cable_channel"].source.section == "14.4.2.2"
|
||||
assert tby["differential_impedance"].value_kind == "UNKNOWN"
|
||||
assert "PCB" in (tby["differential_impedance"].needed_document or "")
|
||||
gbe = next(p for p in cat.physical_interfaces if p.id == "1000base-t-mdi")
|
||||
gdr = next(c for c in gbe.constraints if c.parameter == "data_rate")
|
||||
assert gdr.value_kind == "UNKNOWN"
|
||||
assert "Clause 40" in (gdr.needed_document or "")
|
||||
assert gdr.value is None
|
||||
fx = next(p for p in cat.physical_interfaces if p.id == "100base-fx-pcb")
|
||||
fxr = next(c for c in fx.constraints if c.parameter == "data_rate")
|
||||
_cite_ok(fxr)
|
||||
|
||||
Reference in New Issue
Block a user