HDMI 2.0+ TI layout uses source_type VENDOR (2.82.0).
Add VENDOR to SourceType. HDMI 2.0/FRL fill TMDS1204 PCB numbers as VENDOR RECOMMENDED; TMDS1204-specific skew/vias/data_rate/SIGDET stay PHY_DEPENDENT. HDMI 1.4 TMDS remains UNKNOWN. Not HDMI Forum STANDARD.
This commit is contained in:
@@ -158,10 +158,22 @@ def test_dvi_not_hdmi_numeric_from_dvi_10():
|
||||
_cite_ok(z20)
|
||||
assert z20.value == 90.0
|
||||
assert z20.source_class == "VENDOR"
|
||||
assert z20.source_type == "PHY"
|
||||
assert z20.source_type == "VENDOR"
|
||||
assert z20.mandatory == "RECOMMENDED"
|
||||
assert "TMDS1204" in z20.source.document
|
||||
assert z20.source_class != "NORMATIVE"
|
||||
assert z20.source_type != "STANDARD"
|
||||
skew20 = next(c for c in h20.constraints if c.parameter == "intra_pair_skew")
|
||||
assert skew20.value_kind == "PHY_DEPENDENT"
|
||||
assert skew20.value is None
|
||||
assert skew20.source_type == "VENDOR"
|
||||
assert skew20.source and "SLLSF57A" in (skew20.source.revision or "")
|
||||
sig20 = next(c for c in h20.constraints if c.parameter == "sigdet_wakeup")
|
||||
assert sig20.value_kind == "PHY_DEPENDENT"
|
||||
assert sig20.source_type == "VENDOR"
|
||||
assert "SLLA633" in (sig20.source.revision or "")
|
||||
h14_skew = next(c for c in hdmi.constraints if c.parameter == "intra_pair_skew")
|
||||
assert h14_skew.value_kind == "UNKNOWN"
|
||||
hby = {c.parameter: c for c in hdmi.constraints}
|
||||
_cite_ok(hby["cec"])
|
||||
assert hby["cec"].value == 27000.0
|
||||
@@ -184,15 +196,18 @@ def test_dvi_not_hdmi_numeric_from_dvi_10():
|
||||
fz = next(c for c in frl.constraints if c.parameter == "differential_impedance")
|
||||
assert fz.value == 90.0
|
||||
assert fz.source_class == "VENDOR"
|
||||
assert fz.source_type == "VENDOR"
|
||||
fdr = next(c for c in frl.constraints if c.parameter == "data_rate")
|
||||
assert fdr.value == 12.0
|
||||
assert fdr.value_kind == "PHY_DEPENDENT"
|
||||
assert fdr.value is None
|
||||
assert fdr.source_class == "VENDOR"
|
||||
assert fdr.source_type == "VENDOR"
|
||||
sink = next(p for p in cat.physical_interfaces if p.id == "tmds1204-hdmi-sink")
|
||||
assert sink.logical_protocol_id == "tmds1204"
|
||||
sby = {c.parameter: c for c in sink.constraints}
|
||||
_cite_ok(sby["differential_impedance"])
|
||||
assert sby["differential_impedance"].value == 90.0
|
||||
assert sby["differential_impedance"].source_type == "PHY"
|
||||
assert sby["differential_impedance"].source_type == "VENDOR"
|
||||
assert sby["differential_impedance"].source_class == "VENDOR"
|
||||
assert sby["differential_impedance"].mandatory == "RECOMMENDED"
|
||||
assert sby["differential_impedance"].source.table == "Table 8-6"
|
||||
@@ -204,6 +219,9 @@ def test_dvi_not_hdmi_numeric_from_dvi_10():
|
||||
assert rby["differential_impedance"].value == 75.0
|
||||
assert rby["differential_impedance"].source.table == "Table 8-2"
|
||||
assert rby["differential_impedance"].source_class == "VENDOR"
|
||||
assert rby["differential_impedance"].source_type == "VENDOR"
|
||||
assert sby["sigdet_wakeup"].value_kind == "PHY_DEPENDENT"
|
||||
assert sby["sigdet_wakeup"].source_type == "VENDOR"
|
||||
g = DesignGraph(
|
||||
components={
|
||||
"J3": Component(
|
||||
|
||||
Reference in New Issue
Block a user