{
  "case": "openhw-cve2-ep06-freertos",
  "title": "FreeRTOS minimal system on CVE2",
  "verified_at": "2026-11-20",
  "verdict": "PASS",
  "target": {
    "board": "ALINX PI-AR035-F1-1",
    "fpga": "AMD XC7A35T-FGG484-2",
    "core": "OpenHW CVE2 / CV32E20",
    "isa": "RV32IM",
    "clock_hz": 50000000
  },
  "firmware": {
    "kernel": "FreeRTOS Kernel V11.1.0",
    "tick_hz": 1000,
    "max_priorities": 8,
    "heap_bytes": 24576,
    "heap_scheme": "heap_4",
    "tasks": ["pulse", "producer", "consumer", "monitor", "heartbeat", "idle"],
    "modules_enabled": ["tasks", "queue", "list", "heap_4"],
    "modules_disabled": ["timers", "event_groups", "stream_buffers"]
  },
  "run": {
    "duration_s": 8.0,
    "tick": 8000,
    "heap_free_bytes": 15280,
    "idle_loops": 21820112,
    "pulse": 161,
    "heartbeat": 17,
    "queue_sent": 81,
    "queue_recv": 81,
    "queue_errors": 0,
    "shared_counter": 971,
    "expected_counter": 971,
    "counter_relation": "971 = 81*10 + 161",
    "repeat_runs": 2,
    "repeat_identical": true
  },
  "stack_words": {
    "pulse": {"allocated": 256, "min_free": 177, "peak_used": 79, "free_bytes": 708},
    "producer": {"allocated": 384, "min_free": 309, "peak_used": 75, "free_bytes": 1236},
    "consumer": {"allocated": 384, "min_free": 309, "peak_used": 75, "free_bytes": 1236},
    "monitor": {"allocated": 512, "min_free": 421, "peak_used": 91, "free_bytes": 1684}
  },
  "resources": {
    "lut": 4332, "lut_total": 20800, "lut_pct": 20.83,
    "ff": 3815, "ff_total": 41600, "ff_pct": 9.17,
    "bram": 32, "bram_total": 50, "bram_pct": 64.0,
    "dsp": 11, "dsp_total": 90, "dsp_pct": 12.22,
    "iob": 25, "iob_total": 250, "iob_pct": 10.0
  },
  "timing": {
    "wns_ns": 1.563,
    "whs_ns": 0.032,
    "tns_ns": 0.0,
    "ths_ns": 0.0,
    "failing_endpoints": 0,
    "total_endpoints": 11754,
    "constraints_met": true
  },
  "drc": {"errors": 0, "warnings": 76, "design_state": "Fully Routed"},
  "artifacts": {
    "bit/top_cve2_ep06.bit": {"bytes": 2192137, "sha256": "02cfb84a5b3cf95096e317c564b753978f64c27f3ef259584ae48399989c406a"},
    "sw/firmware.elf": {"bytes": 139820, "sha256": "9ab648c5d0826fc668dc9ebd634e578524ca0cbc38b48a40e163f1240fffc34d"},
    "sw/firmware.bin": {"bytes": 24316, "sha256": "f8ba7cd63d3bb38e509feccf112b87b0747607f46217a291eb26156bf4b5d913"},
    "sw/firmware.hex": {"bytes": 54711, "words": 6079, "sha256": "e7f89d1538af4a0b19dbb6fce2b0db54f22193d5c7f4fb48f80e7ee1325f99f8"}
  },
  "not_verified": [
    "FreeRTOS timers, event groups, stream buffers",
    "SMP or multi-core scheduling",
    "FPU context save and restore",
    "scheduling jitter with cache or DDR",
    "long-duration soak and temperature/voltage corners",
    "scheduling-latency comparison with other RISC-V cores"
  ]
}
