OR-1 dataflow CPU sketch

fix: address Phase 2 code review feedback on timing and error handling master

- IMPORTANT 1 (AC3.10): Fix timing tests to verify exact cycle counts * test_dyadic_timing: Verify Emitted fires exactly 5 cycles after second token injection * test_monadic_timing: Verify Emitted fires exactly 4 cycles after injection * test_side_path_timing: Verify FrameAllocated fires exactly 2 cycles after injection - IMPORTANT 2: Add exhaustive match default case to _make_token_from_dest * Raises ValueError for unknown token_kind instead of silently returning None - MINOR 1: Add type annotation to _deliver method * Changed parameter from 'token' to 'token: Token' * Added Token to imports from tokens module - MINOR 2: Add warning logs in _emit_inherit for non-FrameDest slots * Log when dest_l or dest_r is not FrameDest instead of silently skipping emission - Pipeline timing fix: Restructure yield ordering to ensure correct cycle counts * Side paths: yield before handler, so events fire after complete cycle * Normal ALU: yield for EMIT before calling _do_emit_new, so Emitted fires after EMIT cycle completes


Author Orual Date Commit ecc183dc Parent bf0a1801 Change ID qyopqpxm
+81 -38
2 changed files