| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "prod2u-p4-normal-v3-td-build-receipt-v2",
- "type": "object",
- "propertyNames": {"not": {"pattern": "^build_(?:id|identity)$"}},
- "required": [
- "schema", "status", "build_mode", "resource_variant", "top", "top_module",
- "pin_profile", "profile", "runtime_profile", "verification_run_id", "safety"
- ],
- "properties": {
- "schema": {"const": "prod2u-p4-normal-v3-td-build-receipt-v2"},
- "status": {"type": "string"},
- "build_mode": {"const": "production"},
- "resource_variant": {"const": "minimal_production"},
- "top": {"const": "prod2u_p4_normal_v3"},
- "top_module": {"const": "prod2u_p4_normal_v3_top"},
- "pin_profile": {"const": "prod2u-p4-normal-v3"},
- "profile": {"const": "prod2u_p4_normal_v3"},
- "runtime_profile": {"const": "prod2u-p4-normal-actuator-binary921-v3"},
- "verification_run_id": {"type": "string", "pattern": "^[0-9a-f]{32}$"},
- "run_id": {"type": "string", "pattern": "^[0-9a-f]{32}$"},
- "work_root": {"type": "string", "pattern": "^[A-Za-z]:[\\\\/]"},
- "commit": {"type": "string", "pattern": "^[0-9a-f]{8}$"},
- "bitstream_sha256": {"type": ["string", "null"], "pattern": "^[0-9a-f]{64}$"},
- "synthesis_input_hash": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
- "resources": {"type": ["object", "null"]},
- "timing": {"type": ["object", "null"]},
- "structural_gate": {"$ref": "#/$defs/structuralGate"},
- "timing_gate": {"type": "object"},
- "source_binding_gate": {"type": "object"},
- "pin_binding_gate": {"type": "object"},
- "post_route_pin_gate": {"type": "object"},
- "binding_gate": {"type": "object"},
- "syn": {"type": ["object", "null"]},
- "phy": {"type": ["object", "null"]},
- "bitgen": {"type": ["object", "null"]},
- "bitstream": {"type": ["object", "null"]},
- "error_summary": {"type": "object"},
- "resource_gate": {"type": "object"},
- "resource_delta": {"type": "object"},
- "safety": {
- "const": {"opens_serial": false, "programs_hardware": false, "installs_drivers": false}
- }
- },
- "allOf": [
- {
- "if": {"properties": {"status": {"const": "pass"}}, "required": ["status"]},
- "then": {
- "required": [
- "run_id", "work_root", "commit", "bitstream_sha256", "synthesis_input_hash", "resources", "timing",
- "structural_gate", "timing_gate", "source_binding_gate", "pin_binding_gate", "post_route_pin_gate",
- "binding_gate", "syn", "phy", "bitgen", "bitstream", "error_summary",
- "resource_gate", "resource_delta"
- ],
- "properties": {
- "bitstream_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
- "structural_gate": {"properties": {"status": {"const": "pass"}}},
- "timing_gate": {"properties": {"status": {"const": "pass"}}},
- "source_binding_gate": {"properties": {"status": {"const": "pass"}}},
- "pin_binding_gate": {"properties": {"status": {"const": "pass"}}},
- "post_route_pin_gate": {"properties": {"status": {"const": "pass"}}},
- "binding_gate": {"properties": {"status": {"const": "pass"}}}
- }
- }
- }
- ],
- "$defs": {
- "structuralGate": {
- "type": "object",
- "required": ["status", "resources", "pins", "cdc", "fsm_encoding", "failures"],
- "properties": {
- "status": {"enum": ["pass", "fail"]},
- "resources": {
- "type": "object",
- "required": ["status", "required", "failures"],
- "properties": {
- "status": {"enum": ["pass", "fail"]},
- "required": {
- "const": {
- "bram": "reported_nonnegative_integer",
- "bram32k": "reported_nonnegative_integer",
- "bram128k": "reported_nonnegative_integer",
- "bram256k": "reported_nonnegative_integer",
- "dsp": "reported_nonnegative_integer",
- "pad": 43,
- "ireg": 0
- }
- },
- "failures": {"type": "array", "items": {"type": "string"}}
- }
- },
- "pins": {
- "type": "object",
- "required": ["status", "row_count", "required", "observed", "forbidden_location", "failures"],
- "properties": {
- "status": {"enum": ["pass", "fail"]},
- "row_count": {"type": "integer", "minimum": 0},
- "required": {"type": "object"},
- "observed": {"type": "object"},
- "forbidden_location": {"const": "A5"},
- "failures": {"type": "array", "items": {"type": "string"}}
- }
- },
- "cdc": {
- "type": "object",
- "required": ["status", "async_reg", "input_registers", "retained_sync_registers", "first_stage_endpoints", "failures"],
- "properties": {
- "status": {"enum": ["pass", "fail"]},
- "async_reg": {"properties": {"used": {"const": 6}}},
- "input_registers": {"properties": {"used": {"const": 0}}},
- "retained_sync_registers": {"properties": {"used": {"const": 6}}},
- "first_stage_endpoints": {"properties": {"used": {"const": 3}}},
- "failures": {"type": "array", "items": {"type": "string"}}
- }
- },
- "fsm_encoding": {
- "type": "object",
- "required": ["status", "encoding", "axes", "td_log_marker", "reencoded_motion_phase_count", "failures"],
- "properties": {
- "status": {"enum": ["pass", "fail"]},
- "encoding": {"type": ["string", "null"]},
- "axes": {"const": {"x": 2, "y": 2}},
- "td_log_marker": {"type": "boolean"},
- "reencoded_motion_phase_count": {"type": "integer", "minimum": 0},
- "failures": {"type": "array", "items": {"type": "string"}}
- }
- },
- "failures": {"type": "array", "items": {"type": "string"}}
- }
- }
- },
- "additionalProperties": true
- }
|